mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-14 01:24:19 +02:00
Remove unused Tooltip#validate method
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user