aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 18:55:25 -0800
committerMark Otto <[email protected]>2013-12-14 18:55:25 -0800
commit35dd6b9fd7a9d06c7bc630abe391bfdf0f4ba644 (patch)
tree748e2515066e52f2ff632934f5c44a412573bac9
parent46c3d27468accdf98dd49257f17bdc507890a1c6 (diff)
parent5749039f8d236306cc019bb0ec6c5c707f7f3121 (diff)
downloadbootstrap-35dd6b9fd7a9d06c7bc630abe391bfdf0f4ba644.tar.xz
bootstrap-35dd6b9fd7a9d06c7bc630abe391bfdf0f4ba644.zip
Merge pull request #10704 from XhmikosR/various
rm unused vars
-rw-r--r--dist/js/bootstrap.js1
-rw-r--r--js/modal.js1
2 files changed, 0 insertions, 2 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index dfa3d4e24..d469f22c0 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -982,7 +982,6 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
}
Modal.prototype.backdrop = function (callback) {
- var that = this
var animate = this.$element.hasClass('fade') ? 'fade' : ''
if (this.isShown && this.options.backdrop) {
diff --git a/js/modal.js b/js/modal.js
index 15b81c362..c284b4dc6 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -149,7 +149,6 @@
}
Modal.prototype.backdrop = function (callback) {
- var that = this
var animate = this.$element.hasClass('fade') ? 'fade' : ''
if (this.isShown && this.options.backdrop) {