mirror of https://github.com/layui/layui
修复 layer 内部 resize 方法的一处错误
parent
b0486c1b0a
commit
e2149fc8b1
|
@ -481,7 +481,7 @@ Class.pt.resize = function(){
|
|||
var config = that.config;
|
||||
|
||||
that.offset();
|
||||
(/^\d+%$/.test(config.area[0]) || /^\d+%$/.test(config.area[1])) && that.auto(times);
|
||||
(/^\d+%$/.test(config.area[0]) || /^\d+%$/.test(config.area[1])) && that.auto(that.index);
|
||||
config.type == 4 && that.tips();
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue