Browse Source

Fix usingScale declaring error

iou90 4 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
 
14
 
15
 const updateSizeWithMessage = (element, scalesPageToFit) =>
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
   var scaling = false;
18
   var scaling = false;
19
   var zoomedin = false;
19
   var zoomedin = false;
20
   var lastHeight = 0;
20
   var lastHeight = 0;