mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
fix js from @fat feedback for modal
This commit is contained in:
2
docs/assets/js/bootstrap.js
vendored
2
docs/assets/js/bootstrap.js
vendored
@@ -1039,7 +1039,7 @@
|
||||
})
|
||||
})
|
||||
|
||||
var $body = $('body')
|
||||
var $body = $(document.body)
|
||||
.on('shown', '.modal', function () { $body.addClass('modal-open') })
|
||||
.on('hidden', '.modal', function () { $body.removeClass('modal-open') })
|
||||
|
||||
|
Reference in New Issue
Block a user