From 5749039f8d236306cc019bb0ec6c5c707f7f3121 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 18 Sep 2013 09:06:53 +0300 Subject: [PATCH] Remove unused variables. --- dist/js/bootstrap.js | 1 - js/modal.js | 1 - 2 files changed, 2 deletions(-) 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) {