From 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 Mon Sep 17 00:00:00 2001 From: Minteck Date: Tue, 18 Oct 2022 08:59:09 +0200 Subject: Update --- includes/rail.inc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'includes/rail.inc') diff --git a/includes/rail.inc b/includes/rail.inc index b2ed467..e78815e 100644 --- a/includes/rail.inc +++ b/includes/rail.inc @@ -164,13 +164,4 @@ document.getElementById("rail").onmouseleave = () => { document.getElementById("rail-text").style.opacity = "0"; } - - window.onscroll = () => { - let scroll = document.getElementsByTagName("html")[0].scrollTop; - let pos = 60 - scroll; - - if (pos <= 0) pos = 0; - document.getElementById("rail").style.top = pos + "px"; - document.getElementById("rail-text").style.top = pos + "px"; - } \ No newline at end of file -- cgit