This commit is contained in:
parent
a08490f669
commit
0c6c88d181
1 changed files with 1 additions and 5 deletions
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue