We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2e3606 commit 38d43a2Copy full SHA for 38d43a2
bottomfloat.js
@@ -121,9 +121,9 @@ if (isMobile) {
121
122
bottomWrapper.style.setProperty('--window-height', window.innerHeight + 'px');
123
124
- const portrait = window.matchMedia('(orientation: portrait)');
+ const landscape = window.matchMedia('(orientation: landscape)');
125
126
- portrait.addEventListener('change', (event) => {
+ landscape.addEventListener('change', (event) => {
127
128
129
0 commit comments