This commit is contained in:
parent
f6dfb9950c
commit
a5368db35a
1 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,4 @@
|
||||||
window.addEventListener("load", () => main());
|
window.addEventListener("load", () => {
|
||||||
|
|
||||||
const main = () => {
|
|
||||||
for (const item of document.getElementsByTagName("img")) {
|
for (const item of document.getElementsByTagName("img")) {
|
||||||
// Check if we may need to resize the image
|
// Check if we may need to resize the image
|
||||||
const possible_piece = item.alt.split(/\s?\|\s?/);
|
const possible_piece = item.alt.split(/\s?\|\s?/);
|
||||||
|
@ -36,4 +34,4 @@ const main = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
|
|
Loading…
Reference in a new issue