fix minifier
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending approval

This commit is contained in:
Mylloon 2024-06-02 18:58:36 +02:00
parent a08490f669
commit 0c6c88d181
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -8,11 +8,7 @@ window.addEventListener("load", () => {
// Correct text
const data = span.getAttribute("title");
if (data.length > 0) {
a.innerHTML = data;
} else {
a.style = "hyphens: none;";
}
data.length > 0 ? (a.innerHTML = data) : (a.style = "hyphens: none;");
// Change link
const href = a.getAttribute("href");