]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add missing event namespacing in modal.js 13615/head
authorChris Rebert <code@rebertia.com>
Sat, 17 May 2014 00:05:03 +0000 (17:05 -0700)
committerChris Rebert <code@rebertia.com>
Sat, 17 May 2014 00:05:03 +0000 (17:05 -0700)
js/modal.js

index 109f66d7d26dea07a746d9c4dc83e0c552d71e9a..a89eb0c09f5372b2e60c67d3a1276ab7a6f0508c 100644 (file)
     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')
     })
   })