mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
shown.bs.modal fix
This commit is contained in:
parent
7b12a0dcbc
commit
43e5e90a6d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user