aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-09-13 09:39:15 +0200
committerHeinrich Fenkart <[email protected]>2014-09-13 09:39:15 +0200
commite094d470d4c679a43b5678363c7078674de56490 (patch)
treeccc6275c89fe78c8659c5659ea2e594fec875bac
parentd0f76e416cda07ad98e5ee6d91d132b580c9d051 (diff)
downloadbootstrap-e094d470d4c679a43b5678363c7078674de56490.tar.xz
bootstrap-e094d470d4c679a43b5678363c7078674de56490.zip
Remove unused Tooltip#validate method
-rw-r--r--js/tooltip.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index 614f41451..7194b5d01 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
}