Skip to content

Commit

Permalink
Revert external call for closing opened modals before open new modal.
Browse files Browse the repository at this point in the history
  • Loading branch information
maximkou committed Apr 8, 2014
1 parent 53004a0 commit 607f2e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.the-modal.js
Expand Up @@ -135,7 +135,7 @@

// close modal if opened
if($('.'+localOptions.overlayClass).length) {
context.close();
$.modal().close();
}

lockContainer(localOptions);
Expand Down

0 comments on commit 607f2e9

Please sign in to comment.