0
0
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:
Chris Rebert 2014-05-19 00:42:10 -07:00
commit 7d75734e10

View File

@ -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')
})
})