diff options
author | Minteck <contact@minteck.org> | 2022-10-18 08:59:09 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-10-18 08:59:09 +0200 |
commit | 2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (patch) | |
tree | 17848d95522dab25d3cdeb9c4a6450e2a234861f /includes/rail.inc | |
parent | 108525534c28013cfe1897c30e4565f9893f3766 (diff) | |
download | pluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.tar.gz pluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.tar.bz2 pluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.zip |
Update
Diffstat (limited to 'includes/rail.inc')
-rw-r--r-- | includes/rail.inc | 9 |
1 files changed, 0 insertions, 9 deletions
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"; - } </script>
\ No newline at end of file |