add a delay before recalculating vh 😭

This commit is contained in:
Ginger Wong
2020-06-15 15:55:57 -07:00
parent 0510d47486
commit 59ab5e9e98
4 changed files with 7 additions and 7 deletions

View File

@@ -28,9 +28,8 @@ function setupApp() {
// style hackings
window.VIDEOJS_NO_DYNAMIC_STYLE = true;
if (hasTouchScreen()) {
mobileVHhack();
setVHvar();
window.onorientationchange = handleOrientationChange;
// document.addEventListener("orientationchange", handleOrientationChange);
}