0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-22 19:54:22 +01:00

add missing event namespacing in modal.js

This commit is contained in:
Chris Rebert 2014-05-16 17:05:03 -07:00
parent e44f5b15b1
commit 3d1723d689

View File

@ -269,7 +269,7 @@
if ($this.is('a')) e.preventDefault() if ($this.is('a')) e.preventDefault()
Plugin.call($target, option, this) Plugin.call($target, option, this)
$target.one('hide', function () { $target.one('hide.bs.modal', function () {
$this.is(':visible') && $this.trigger('focus') $this.is(':visible') && $this.trigger('focus')
}) })
}) })