Skip to content

Commit

Permalink
[deploy] fix for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Dec 12, 2024
1 parent 858179a commit 58d9f39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/index_internal.html.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
<script src="../../../../../../sdkjs/common/device_scale.js?__inline=true"></script>

<script>
const userAgent = navigator.userAgent.toLowerCase(),
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
isIEBrowser = !check(/opera/) && (check(/msie/) || check(/trident/));
isIEBrowser === true &&
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/main/index_loader.html.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@

<script src="../../../../../../sdkjs/common/device_scale.js?__inline=true"></script>
<script>
const userAgent = navigator.userAgent.toLowerCase(),
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
isIEBrowser = !check(/opera/) && (check(/msie/) || check(/trident/));
isIEBrowser === true &&
Expand Down
2 changes: 1 addition & 1 deletion apps/visioeditor/main/index_loader.html.deploy
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
<script src="../../../../../../sdkjs/common/device_scale.js?__inline=true"></script>

<script>
const userAgent = navigator.userAgent.toLowerCase(),
var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
isIEBrowser = !check(/opera/) && (check(/msie/) || check(/trident/));
isIEBrowser === true &&
Expand Down

0 comments on commit 58d9f39

Please sign in to comment.