From 508e5d39675499a472d2457341286e2dd6ac229a Mon Sep 17 00:00:00 2001 From: GeoSot Date: Mon, 17 Jan 2022 15:29:28 +0200 Subject: [PATCH] test --- js/src/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 18a58d5b8e87..09277e6415c2 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -223,6 +223,7 @@ class Tooltip extends BaseComponent { // todo v6 remove this OR make it optional if (this.tip) { this.tip.remove() + this.tip = null } const tip = this._getTipElement() @@ -397,7 +398,7 @@ class Tooltip extends BaseComponent { } _getTitle() { - return this._config.title + return this._resolvePossibleFunction(this._config.title) || this._config.originalTitle } // Private @@ -604,7 +605,6 @@ class Tooltip extends BaseComponent { } config.originalTitle = this._element.getAttribute('title') || '' - config.title = this._resolvePossibleFunction(config.title) || config.originalTitle if (typeof config.title === 'number') { config.title = config.title.toString() }