Skip to content

Commit

Permalink
Merge pull request #14610 from twbs/axe-tooltip-validate
Browse files Browse the repository at this point in the history
Remove unused Tooltip#validate method
  • Loading branch information
hnrch02 committed Sep 16, 2014
2 parents 16f9529 + e094d47 commit 152d9df
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions js/tooltip.js
Expand Up @@ -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
}
Expand Down

0 comments on commit 152d9df

Please sign in to comment.