diff options
| author | Chris Rebert <[email protected]> | 2014-05-16 17:05:03 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-16 17:05:03 -0700 |
| commit | 3d1723d68911446e10dae18db37a9ff78d197578 (patch) | |
| tree | eba7357f0073829acbe3228b715632c11f796d73 | |
| parent | e44f5b15b1330b00f62eb8bf5dc923b31f869995 (diff) | |
| download | bootstrap-3d1723d68911446e10dae18db37a9ff78d197578.tar.xz bootstrap-3d1723d68911446e10dae18db37a9ff78d197578.zip | |
add missing event namespacing in modal.js
| -rw-r--r-- | js/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js index 109f66d7d..a89eb0c09 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') }) }) |
