mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 06:36:33 +02:00
prevent tooltip from being deleted on quick re-activations
This commit is contained in:
@@ -329,6 +329,10 @@ class Tooltip extends BaseComponent {
|
||||
|
||||
const tip = this.getTipElement()
|
||||
const complete = () => {
|
||||
if (this._isWithActiveTrigger()) {
|
||||
return
|
||||
}
|
||||
|
||||
if (this._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {
|
||||
tip.parentNode.removeChild(tip)
|
||||
}
|
||||
|
Reference in New Issue
Block a user