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