mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
shown.bs.modal fix
This commit is contained in:
@@ -238,7 +238,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
var $body = $(document.body)
|
var $body = $(document.body)
|
||||||
.on('bs.modal.shown', '.modal', function () { $body.addClass('modal-open') })
|
.on('shown.bs.modal', '.modal', function () { $body.addClass('modal-open') })
|
||||||
.on('bs.modal.hidden', '.modal', function () { $body.removeClass('modal-open') })
|
.on('hidden.bs.modal', '.modal', function () { $body.removeClass('modal-open') })
|
||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
|
Reference in New Issue
Block a user