diff options
Diffstat (limited to 'src/js/zen.js')
-rw-r--r-- | src/js/zen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/zen.js b/src/js/zen.js index 301e21b..d897603 100644 --- a/src/js/zen.js +++ b/src/js/zen.js @@ -1,5 +1,5 @@ window.addEventListener('DOMContentLoaded', () => { - let firstTime = window.location.pathname != '/'; + let firstTime = window.location.pathname != '/' && window.pageYOffset < 800; const toggleArrow = document.querySelector('#harr'); const initValue = document.body.style.getPropertyValue('--width_panel_bis'); |