diff --git a/assets/script.js b/assets/script.js index 35032d0..0202b00 100644 --- a/assets/script.js +++ b/assets/script.js @@ -3,7 +3,7 @@ class YogaBook9iBlackout { this.fullMode = true; // Disable Window Management API features if not available - if (!this.requestPermission()) { + if (!("getScreenDetails") in window) { this.polyfill(); }