mirror of https://github.com/layui/laydate
1.1
parent
6ae071a9d9
commit
549b2d2c15
|
@ -163,12 +163,14 @@ Dates.run = function(options){
|
|||
if(!elem || elem === Dates.elem){
|
||||
return;
|
||||
}
|
||||
Dates.stopMosup(even.type, elem);
|
||||
Dates.stopmp(even);
|
||||
Dates.view(elem, options);
|
||||
Dates.reshow();
|
||||
} else {
|
||||
devt = options.event || 'click';
|
||||
Dates.each((elem.length|0) > 0 ? elem : [elem], function(ii, that){
|
||||
Dates.stopMosup(devt, that);
|
||||
Dates.on(that, devt, function(ev){
|
||||
Dates.stopmp(ev);
|
||||
if(that !== Dates.elem){
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue