Commit 3d1723d6 authored by Chris Rebert's avatar Chris Rebert

add missing event namespacing in modal.js

parent e44f5b15
...@@ -269,7 +269,7 @@ ...@@ -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')
}) })
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment