From 009cb25eb083bbc5ccc0d26977dfc47e0b7166bb Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 20 Feb 2022 18:12:31 +0200 Subject: Reworked go to top button as an image --- src/scripts/image-show.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts') 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; } } -- cgit v1.3.1-23-gd82d