Skip to content

Commit

Permalink
fix ie bug
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Sep 27, 2013
1 parent e6d2f28 commit d770883
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/confirmbox-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ define("arale/dialog/1.2.3/dialog-debug", [ "$-debug", "arale/overlay/1.1.3/over
if (!this.get("hasMask")) {
return;
}
mask._dialogs.pop();
if (mask._dialogs.length > 0) {
mask._dialogs && mask._dialogs.pop();
if (mask._dialogs && mask._dialogs.length > 0) {
var last = mask._dialogs[mask._dialogs.length - 1];
mask.set("zIndex", last.get("zIndex"));
mask.element.insertBefore(last.element);
Expand Down
Loading

0 comments on commit d770883

Please sign in to comment.