aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2013-09-18 09:06:53 +0300
committerXhmikosR <[email protected]>2013-12-10 10:11:10 +0200
commit5749039f8d236306cc019bb0ec6c5c707f7f3121 (patch)
treece060dcaee3f12e199767e13018967d23eeacdff
parenta6b5c7db1287a614c918d08c0f7b127be03ebe62 (diff)
downloadbootstrap-5749039f8d236306cc019bb0ec6c5c707f7f3121.tar.xz
bootstrap-5749039f8d236306cc019bb0ec6c5c707f7f3121.zip
Remove unused variables.
-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) {