Skip to content

Commit

Permalink
couple bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Schroter committed Nov 13, 2012
1 parent 80c9296 commit 4368f65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/bootstrap-modal.js
Expand Up @@ -52,6 +52,8 @@
var that = this,
e = $.Event('show');

if (this.isShown) return;

this.$element.triggerHandler(e);

if (e.isDefaultPrevented()) return;
Expand Down
2 changes: 1 addition & 1 deletion js/bootstrap-modalmanager.js
Expand Up @@ -125,7 +125,7 @@
}

this.removeContainer(modal);

this.setFocus();
},

Expand Down

0 comments on commit 4368f65

Please sign in to comment.