Browse Source

Fix usingScale declaring error

iou90 3 years ago
parent
commit
54a4b7f949
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      autoHeightWebView/utils.js

+ 1
- 1
autoHeightWebView/utils.js View File

@@ -14,7 +14,7 @@ const domMutationObserveScript = `
14 14
 
15 15
 const updateSizeWithMessage = (element, scalesPageToFit) =>
16 16
   `
17
-  var usingScale = ${scalesPageToFit} ? screen.width / window.innerWidth : 1};
17
+  var usingScale = ${scalesPageToFit} ? screen.width / window.innerWidth : 1;
18 18
   var scaling = false;
19 19
   var zoomedin = false;
20 20
   var lastHeight = 0;