diff --git a/hwe/ts/util/auto500px.ts b/hwe/ts/util/auto500px.ts index 63588725..2e9cdde1 100644 --- a/hwe/ts/util/auto500px.ts +++ b/hwe/ts/util/auto500px.ts @@ -48,6 +48,11 @@ export function auto500px(targetHeight = 700): void { return; } + if(oldMode != 'auto'){ + oldMode = 'auto'; + adjustViewportWidth(); + return; + } deviceWidth = window.screen.availWidth; const innerHeight = window.innerHeight; const selectorHeight = targetHeight;