1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02: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

View File

@@ -407,14 +407,6 @@
return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')) 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 () { Tooltip.prototype.enable = function () {
this.enabled = true this.enabled = true
} }