Line 97: | Line 97: | ||
<script> | <script> | ||
window.addEventListener('scroll', () => { | window.addEventListener('scroll', () => { | ||
− | + | var h = document.getElementById('topHeader'); | |
− | + | height = h.clientHeight; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
let header = document.querySelector('header'); | let header = document.querySelector('header'); | ||
let logoHolder = document.querySelector('.logoHolder'); | let logoHolder = document.querySelector('.logoHolder'); |
Revision as of 06:38, 6 August 2021