Skip to content

Commit a147bcd

Browse files
committed
v1.1.3
1 parent 1469f3d commit a147bcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

script/aui-alert.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
btnColor = opts.btnColor?opts.btnColor:btnColor;
2828
}
2929
var _init = function(){
30-
if(api.winName=='root'){
30+
if(api.winName=='root' && !api.frameName){
3131
frmUrl = 'html/aui_alert_frm.html';
3232
}else{
3333
frmUrl = 'aui_alert_frm.html';
@@ -61,7 +61,6 @@
6161
setTimeout(function(){
6262
callback(''+ret.value.buttonIndex+'');
6363
},150)
64-
6564
}
6665
});
6766
}

0 commit comments

Comments
 (0)