fix layer.load bug

pull/3/head
sentsin 2014-05-23 05:36:18 +08:00
parent 303c79f0b5
commit 863e5009d0
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ window.layer = {
//加载层快捷引用
load: function(parme, icon){
if(typeof parme === 'string'){
return this.msg(parme, icon, 16);
return this.msg(parme, icon || 0, 16);
} else {
return $.layer({
time: parme,

2
layer/layer.min.js vendored

File diff suppressed because one or more lines are too long