diff options
Diffstat (limited to 'js/modal.js')
| -rw-r--r-- | js/modal.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js index ae1b8e598..a89eb0c09 100644 --- a/js/modal.js +++ b/js/modal.js @@ -30,6 +30,8 @@ } } + Modal.VERSION = '3.1.1' + Modal.DEFAULTS = { backdrop: true, keyboard: true, @@ -267,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') }) }) |
