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 // Correct text
const data = span.getAttribute("title"); const data = span.getAttribute("title");
if (data.length > 0) { data.length > 0 ? (a.innerHTML = data) : (a.style = "hyphens: none;");
a.innerHTML = data;
} else {
a.style = "hyphens: none;";
}
// Change link // Change link
const href = a.getAttribute("href"); const href = a.getAttribute("href");