From e094d470d4c679a43b5678363c7078674de56490 Mon Sep 17 00:00:00 2001 From: Heinrich Fenkart Date: Sat, 13 Sep 2014 09:39:15 +0200 Subject: [PATCH] Remove unused Tooltip#validate method --- js/tooltip.js | 8 -------- 1 file changed, 8 deletions(-) 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 }