0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Merge pull request #14610 from twbs/axe-tooltip-validate

Remove unused Tooltip#validate method
This commit is contained in:
Heinrich Fenkart 2014-09-16 05:41:17 +02:00
commit 152d9dfe2e

View File

@ -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
}