Skip to content

Commit

Permalink
[SSE] fix bug 72053
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Dec 16, 2024
1 parent cc3e1b2 commit cda129b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/util/htmlutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ let svg_icons = ['./resources/img/iconssmall@2.5x.svg',
window.Common = {
Utils: {
injectSvgIcons: function () {
if ( isIEBrowser === true ) return;
if ( window.isIEBrowser === true ) return;

let runonce;
// const el = document.querySelector('div.inlined-svg');
Expand Down
1 change: 1 addition & 0 deletions apps/spreadsheeteditor/main/index_internal.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@

var userAgent = navigator.userAgent.toLowerCase(),
check = function(regex){ return regex.test(userAgent); },
isIEBrowser = !check(/opera/) && (check(/msie/) || check(/trident/)),
stopLoading = false;
if (!check(/opera/) && (check(/msie/) || check(/trident/))) {
var m = /msie (\d+\.\d+)/.exec(userAgent);
Expand Down

0 comments on commit cda129b

Please sign in to comment.