mirror of https://github.com/twbs/bootstrap.git
fix js from @fat feedback for modal
This commit is contained in:
parent
52581839c7
commit
a9729c5fd0
|
@ -241,7 +241,7 @@
|
|||
})
|
||||
})
|
||||
|
||||
var $body = $('body')
|
||||
var $body = $(document.body)
|
||||
.on('shown', '.modal', function () { $body.addClass('modal-open') })
|
||||
.on('hidden', '.modal', function () { $body.removeClass('modal-open') })
|
||||
|
||||
|
|
|
@ -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') })
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -241,7 +241,7 @@
|
|||
})
|
||||
})
|
||||
|
||||
var $body = $('body')
|
||||
var $body = $(document.body)
|
||||
.on('shown', '.modal', function () { $body.addClass('modal-open') })
|
||||
.on('hidden', '.modal', function () { $body.removeClass('modal-open') })
|
||||
|
||||
|
|
Loading…
Reference in New Issue