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());
|
||||
|
||||
const main = () => {
|
||||
window.addEventListener("load", () => {
|
||||
for (const item of document.getElementsByTagName("img")) {
|
||||
// Check if we may need to resize the image
|
||||
const possible_piece = item.alt.split(/\s?\|\s?/);
|
||||
|
@ -36,4 +34,4 @@ const main = () => {
|
|||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue