u2w-merge #192

Merged
savau merged 344 commits from u2w-merge into master 2022-09-02 18:00:29 +02:00
Showing only changes of commit c8d36ea52d - Show all commits

View File

@ -191,9 +191,7 @@ export class Tooltip {
destroy() {
this._eventManager.cleanUp();
this._movementObserver.unobserve();
for (let i = 0; i < this._element.classList.length; i++) {
if (/tooltip--*/.test(this._element.classList[i]))
this._element.classList.remove(this._element.classList.item(i));
}
const toolTipsRegex = RegExp(/\btooltip--.+\b/, 'g');
this._element.className = this._element.className.replace(toolTipsRegex, '');
}
};