Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function() {
- return $(".modal").on("show.bs.modal", function() {
- var curModal;
- curModal = this;
- $(".modal").each(function() {
- if (this !== curModal) {
- $(this).modal("hide");
- }
- });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement