diff options
| author | Chris Rebert <[email protected]> | 2014-05-19 00:42:10 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-05-19 00:42:10 -0700 |
| commit | 7d75734e10853806d3ef8022181c7b8e81e88014 (patch) | |
| tree | c42aa0ab9f22a5d18103562deae41d0323bbfbbc | |
| parent | 082bc20bb9ff1eb26e23ea8f2144f966fac20336 (diff) | |
| parent | 3d1723d68911446e10dae18db37a9ff78d197578 (diff) | |
| download | bootstrap-7d75734e10853806d3ef8022181c7b8e81e88014.tar.xz bootstrap-7d75734e10853806d3ef8022181c7b8e81e88014.zip | |
Merge pull request #13615 from twbs/namespacing
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') }) }) |
