]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove unused Tooltip#validate method 14610/head
authorHeinrich Fenkart <hnrch02@gmail.com>
Sat, 13 Sep 2014 07:39:15 +0000 (09:39 +0200)
committerHeinrich Fenkart <hnrch02@gmail.com>
Sat, 13 Sep 2014 07:39:15 +0000 (09:39 +0200)
js/tooltip.js

index 614f41451a85c6183598d6617e21e9ad918fc043..7194b5d01a92fdac579a725640e0662a0bf661b7 100644 (file)
     return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
   }
 
-  Tooltip.prototype.validate = function () {
-    if (!this.$element[0].parentNode) {
-      this.hide()
-      this.$element = null
-      this.options  = null
-    }
-  }
-
   Tooltip.prototype.enable = function () {
     this.enabled = true
   }