From: Heinrich Fenkart Date: Sat, 13 Sep 2014 07:39:15 +0000 (+0200) Subject: Remove unused Tooltip#validate method X-Git-Tag: v3.3.0~162^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14610%2Fhead;p=thirdparty%2Fbootstrap.git Remove unused Tooltip#validate method --- diff --git a/js/tooltip.js b/js/tooltip.js index 614f41451a..7194b5d01a 100644 --- a/js/tooltip.js +++ b/js/tooltip.js @@ -407,14 +407,6 @@ 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 }