1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-08 14:46:34 +02:00

fix tooltip hide method when already hidden (#31115)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Hiws
2020-09-24 13:55:38 +02:00
committed by GitHub
parent a690a67c7c
commit 43b4252a34
2 changed files with 18 additions and 0 deletions

View File

@@ -331,6 +331,10 @@ class Tooltip {
}
hide() {
if (!this._popper) {
return
}
const tip = this.getTipElement()
const complete = () => {
if (this._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {