mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
shown.bs.modal fix
This commit is contained in:
parent
7b12a0dcbc
commit
43e5e90a6d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue