2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-24 14:04:09 +03: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
+1 -1
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')
})
})