diff options
author | Gitea <gitea@fake.local> | 2021-11-10 17:53:50 +0100 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2021-11-10 17:53:50 +0100 |
commit | 8fabf77b2a7720a357c63817c07035a9908818a0 (patch) | |
tree | d689fcac1403e2473010fe80bc337599a78c21a4 /Neutron-trunk/cms-special/admin/$resources/admin.js | |
parent | 7b4af63a90a726b98a59b83e53f040a7a566a11d (diff) | |
download | electrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.gz electrode-8fabf77b2a7720a357c63817c07035a9908818a0.tar.bz2 electrode-8fabf77b2a7720a357c63817c07035a9908818a0.zip |
Update
Diffstat (limited to 'Neutron-trunk/cms-special/admin/$resources/admin.js')
-rw-r--r-- | Neutron-trunk/cms-special/admin/$resources/admin.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Neutron-trunk/cms-special/admin/$resources/admin.js b/Neutron-trunk/cms-special/admin/$resources/admin.js deleted file mode 100644 index bca683b..0000000 --- a/Neutron-trunk/cms-special/admin/$resources/admin.js +++ /dev/null @@ -1,16 +0,0 @@ -window.onscroll = () => { - // console.log("> Scroll"); - if (window.scrollY >= 52 && !document.getElementById('portal-background').classList.contains('scrolled')) { - // console.log("> ADD"); - document.getElementById('portal-background').classList.add('scrolled'); - } else if (window.scrollY < 52 && document.getElementById('portal-background').classList.contains('scrolled')) { - // console.log("> REMOVE"); - document.getElementById('portal-background').classList.remove('scrolled'); - } else { - // console.log("> Nothing"); - } -} - -window.onbeforeunload = () => { - window.parent.$("#loader").fadeIn(200); -}
\ No newline at end of file |