File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -807,9 +807,9 @@ function getWindowWidth() {
807
807
}
808
808
}
809
809
810
- if ( typeof window . visualViewport . width === 'number' && window . visualViewport . width > 0 ) {
811
- return window . visualViewport . width ;
812
- }
810
+ // if (typeof window.visualViewport.width === 'number' && window.visualViewport.width > 0) {
811
+ // return window.visualViewport.width;
812
+ // }
813
813
}
814
814
} catch ( e ) {
815
815
// experimental access may throw; ignore and continue with fallbacks
@@ -834,9 +834,9 @@ function getWindowHeight() {
834
834
}
835
835
}
836
836
837
- if ( typeof window . visualViewport . height === 'number' && window . visualViewport . height > 0 ) {
838
- return window . visualViewport . height ;
839
- }
837
+ // if (typeof window.visualViewport.height === 'number' && window.visualViewport.height > 0) {
838
+ // return window.visualViewport.height;
839
+ // }
840
840
}
841
841
} catch ( e ) {
842
842
// experimental access may throw; ignore and continue with fallbacks
You can’t perform that action at this time.
0 commit comments