fix(tooltips): removed else case

This commit is contained in:
Johannes Eder 2021-08-24 14:39:52 +02:00 committed by Sarah Vaupel
parent f19e9bab92
commit 8d0241e727

View File

@ -194,8 +194,6 @@ export class Tooltip {
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));
else
i++;
}
}
};