mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
Merge pull request #13615 from twbs/namespacing
add missing event namespacing in modal.js
This commit is contained in:
commit
7d75734e10
@ -269,7 +269,7 @@
|
||||
if ($this.is('a')) e.preventDefault()
|
||||
|
||||
Plugin.call($target, option, this)
|
||||
$target.one('hide', function () {
|
||||
$target.one('hide.bs.modal', function () {
|
||||
$this.is(':visible') && $this.trigger('focus')
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user