From: Chris Rebert Date: Sat, 17 May 2014 00:05:03 +0000 (-0700) Subject: add missing event namespacing in modal.js X-Git-Tag: v3.2.0~146^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d1723d68911446e10dae18db37a9ff78d197578;p=thirdparty%2Fbootstrap.git add missing event namespacing in modal.js --- diff --git a/js/modal.js b/js/modal.js index 109f66d7d2..a89eb0c09f 100644 --- a/js/modal.js +++ b/js/modal.js @@ -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') }) })