]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unused variables. 10704/head
authorXhmikosR <xhmikosr@users.sourceforge.net>
Wed, 18 Sep 2013 06:06:53 +0000 (09:06 +0300)
committerXhmikosR <xhmikosr@users.sourceforge.net>
Tue, 10 Dec 2013 08:11:10 +0000 (10:11 +0200)
dist/js/bootstrap.js
js/modal.js

index dfa3d4e24602e71f953f6764eaccccbf765479a4..d469f22c029038fc033364b473df97a6915cf812 100644 (file)
@@ -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) {
index 15b81c36237398f82a61f298f2b26c2376ca73e5..c284b4dc6a1e1b20f1c98c09390ccf40a1ef52c8 100644 (file)
   }
 
   Modal.prototype.backdrop = function (callback) {
-    var that    = this
     var animate = this.$element.hasClass('fade') ? 'fade' : ''
 
     if (this.isShown && this.options.backdrop) {