don't try to be smart

This commit is contained in:
a 2021-12-22 17:40:37 -06:00
parent 2ddd7ef7e4
commit 953c9f3f5c

View file

@ -3,6 +3,7 @@ let vh = window.innerHeight * 0.01;
root.style.setProperty('--vh', `${vh}px`);
this.lastHeight = window.innerHeight;
/*
// We listen to the resize event
window.addEventListener('resize', () => {
// We execute the same script as before
@ -15,3 +16,4 @@ window.addEventListener('resize', () => {
this.lastHeight = window.innerHeight;
}
});
*/