mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
fix tooltip hide method when already hidden (#31115)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user