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) {