1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-20 12:21:35 +02: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

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