summaryrefslogtreecommitdiff
path: root/includes/fragments/system.inc
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-07-20 18:29:09 +0200
committerRaindropsSys <contact@minteck.org>2023-07-20 18:29:09 +0200
commit46251292b5c8b431de66aeff473594ccec60e04c (patch)
treec9f2c196e50f064a66625813660148379212d9d7 /includes/fragments/system.inc
parent93c96fd1d89782570de9478c26f17b406e9dd7a0 (diff)
downloadpluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.gz
pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.tar.bz2
pluralconnect-46251292b5c8b431de66aeff473594ccec60e04c.zip
Updated 19 files and added 26 files (automated)
Diffstat (limited to 'includes/fragments/system.inc')
-rw-r--r--includes/fragments/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/fragments/system.inc b/includes/fragments/system.inc
index ad7db76..8d31f4d 100644
--- a/includes/fragments/system.inc
+++ b/includes/fragments/system.inc
@@ -7,8 +7,8 @@
</div>
<script>
- window.onscroll = () => {
- document.getElementById("system-banner-container").style.height = (65 - ((window.scrollY / window.screen.availHeight) * 100)) + "vh";
+ document.getElementById("app").onscroll = () => {
+ document.getElementById("system-banner-container").style.height = (65 - ((document.getElementById("app").scrollTop / (window.screen.availHeight - 62)) * 100)) + "vh";
}
</script>