Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-11-29 04:18:44 +0300
committerMark Otto <markdotto@gmail.com>2016-11-29 04:18:44 +0300
commit9749bab4ce07c655231cc13c1539f37d751e856b (patch)
tree9210818c8eab542f8c0f14554786d6b39362c39c /js/dist/modal.js
parent339f8c3c48091675ffabff5663d78b34de88bcb4 (diff)
grunt
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r--js/dist/modal.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js
index a517c26f82..68880ad58a 100644
--- a/js/dist/modal.js
+++ b/js/dist/modal.js
@@ -181,10 +181,7 @@ var Modal = function ($) {
Modal.prototype.dispose = function dispose() {
$.removeData(this._element, DATA_KEY);
- $(window).off(EVENT_KEY);
- $(document).off(EVENT_KEY);
- $(this._element).off(EVENT_KEY);
- $(this._backdrop).off(EVENT_KEY);
+ $(window, document, this._element, this._backdrop).off(EVENT_KEY);
this._config = null;
this._element = null;