aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <[email protected]>2014-09-16 05:41:17 +0200
committerHeinrich Fenkart <[email protected]>2014-09-16 05:41:17 +0200
commit152d9dfe2e1bd2c5f7a2e750f93c3f7f2b8aefb3 (patch)
tree399c7a0e90d876fc2a762aa4be2944dbd1bf831e
parent16f9529ed1291ed7e36b530f475b6705f9942347 (diff)
parente094d470d4c679a43b5678363c7078674de56490 (diff)
downloadbootstrap-152d9dfe2e1bd2c5f7a2e750f93c3f7f2b8aefb3.tar.xz
bootstrap-152d9dfe2e1bd2c5f7a2e750f93c3f7f2b8aefb3.zip
Merge pull request #14610 from twbs/axe-tooltip-validate
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
}