diff --git a/src/common/src/createQRScannerAdapter.js b/src/common/src/createQRScannerAdapter.js index ac5ab328..578452dc 100644 --- a/src/common/src/createQRScannerAdapter.js +++ b/src/common/src/createQRScannerAdapter.js @@ -44,7 +44,7 @@ function resetBodyStyles() { } } for (var key of Object.keys(document.body.style)) { - document.body.style[key] = initialStyles[key] ?? ''; + document.body.style[key] = initialStyles[key] ? initialStyles[key] : ''; } }, 100); } diff --git a/www/www.min.js b/www/www.min.js index 4c81eea1..743566d3 100644 --- a/www/www.min.js +++ b/www/www.min.js @@ -148,7 +148,7 @@ function resetBodyStyles() { } } for (var key of Object.keys(document.body.style)) { - document.body.style[key] = initialStyles[key] ?? ''; + document.body.style[key] = initialStyles[key] ? initialStyles[key] : ''; } }, 100); }