summaryrefslogtreecommitdiff
path: root/includes/rail.inc
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-10-18 08:59:09 +0200
committerMinteck <contact@minteck.org>2022-10-18 08:59:09 +0200
commit2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (patch)
tree17848d95522dab25d3cdeb9c4a6450e2a234861f /includes/rail.inc
parent108525534c28013cfe1897c30e4565f9893f3766 (diff)
downloadpluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.tar.gz
pluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.tar.bz2
pluralconnect-2c4ae43e688a9873e86211ea0e7aeb9ba770dd77.zip
Update
Diffstat (limited to 'includes/rail.inc')
-rw-r--r--includes/rail.inc9
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