diff options
Reworked go to top button as an image
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/scripts/image-show.js | 2 |
diff --git a/src/scripts/image-show.js b/src/scripts/image-show.js index b1ca7cf..961242e 100644 --- a/src/scripts/image-show.js +++ b/src/scripts/image-show.js @@ -18,7 +18,7 @@ function clickToView() { const images = document.getElementsByTagName('img'); for (const image of images) { - if (image.alt !== '🔗') { + if (image.alt !== '🔗' && image.id !== 'scrollBtn') { image.onclick = clickToView; } } |