mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-21 13:24:08 +03:00
shown.bs.modal fix
This commit is contained in:
+2
-2
@@ -238,7 +238,7 @@
|
||||
})
|
||||
|
||||
var $body = $(document.body)
|
||||
.on('bs.modal.shown', '.modal', function () { $body.addClass('modal-open') })
|
||||
.on('bs.modal.hidden', '.modal', function () { $body.removeClass('modal-open') })
|
||||
.on('shown.bs.modal', '.modal', function () { $body.addClass('modal-open') })
|
||||
.on('hidden.bs.modal', '.modal', function () { $body.removeClass('modal-open') })
|
||||
|
||||
}(window.jQuery);
|
||||
|
||||
Reference in New Issue
Block a user