From: XhmikosR Date: Wed, 18 Sep 2013 06:06:53 +0000 (+0300) Subject: Remove unused variables. X-Git-Tag: v3.1.0~145^2^2~15^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F10704%2Fhead;p=thirdparty%2Fbootstrap.git Remove unused variables. --- diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index dfa3d4e246..d469f22c02 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 15b81c3623..c284b4dc6a 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) {