shadeClose default
This commit is contained in:
@@ -749,7 +749,7 @@ Class.pt.callback = function(){
|
||||
layero.find('.'+ doms[7]).on('click', cancel);
|
||||
|
||||
//点遮罩关闭
|
||||
if(config.shadeClose){
|
||||
if(config.shadeClose || config.shadeClose == undefined){
|
||||
that.shadeo.on('click', function(){
|
||||
layer.close(that.index);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user