Created
October 17, 2016 19:27
-
-
Save delphinpro/80a212e2a8d52a5aac5b8238a03d8f74 to your computer and use it in GitHub Desktop.
Multiple modals in bootstrap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).on('hidden.bs.modal', '.modal', function () { | |
$('.modal:visible').length && $(document.body).addClass('modal-open'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment