Skip to content

Commit

Permalink
Remove close handler to unset window
Browse files Browse the repository at this point in the history
This re-adds support for stackable modals.

Closes #175.
  • Loading branch information
drublic committed Jan 7, 2015
1 parent 2c3d887 commit 673a756
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,11 +478,6 @@
modal.mainHandler(event, true);
});

// And unset if close is pressed
this.on('click', document.querySelectorAll('.modal-close'), function () {
modal.unsetActive();
});

/*
* Trigger main handler on load and hashchange
*/
Expand Down

0 comments on commit 673a756

Please sign in to comment.