From 3d1723d68911446e10dae18db37a9ff78d197578 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 16 May 2014 17:05:03 -0700 Subject: [PATCH] add missing event namespacing in modal.js --- js/modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') }) })