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
|
||||
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");
|
||||
|
|
Loading…
Reference in a new issue