Compare commits

...

1 commit

Author SHA1 Message Date
07a4c401e3 fix: feature detect from constructor 2023-08-22 15:50:12 +02:00

View file

@ -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();
}