From 958d10a545ae24103bfbf98dfce044cdcfce93c7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 11 Jul 2023 13:08:48 +0300 Subject: (back-to-top) Reworked code to use addEventListener, rather than onevent, and made scroll button show on window load If you opened a page with a hash, the button wouldn't show up before scrolling --- src/_footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_footer.html') diff --git a/src/_footer.html b/src/_footer.html index dcc0437..eb04df1 100644 --- a/src/_footer.html +++ b/src/_footer.html @@ -5,7 +5,7 @@ - + -- cgit v1.3.1-23-gd82d