diff --git a/apps/common/main/lib/util/docserviceworker.js b/apps/common/main/lib/util/docserviceworker.js
index d8be6af0a8..6b33f1ff66 100644
--- a/apps/common/main/lib/util/docserviceworker.js
+++ b/apps/common/main/lib/util/docserviceworker.js
@@ -10,7 +10,7 @@
})
.then(function (registrations) {
//delete stale service workers
- //for (const registration of registrations) {
+ // for (const registration of registrations) {
for (let r in registrations) {
const registration = registrations[r];
if (registration !== reg && registration.active && registration.active.scriptURL.endsWith(serviceWorkerName)) {
diff --git a/apps/common/main/lib/util/htmlutils.js b/apps/common/main/lib/util/htmlutils.js
index fc72cf69d2..a5a7a31df6 100644
--- a/apps/common/main/lib/util/htmlutils.js
+++ b/apps/common/main/lib/util/htmlutils.js
@@ -29,7 +29,6 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
-const isIE = /msie|trident/i.test(navigator.userAgent);
var checkLocalStorage = (function () {
try {
@@ -61,7 +60,7 @@ if ( window.nativeprocvars && window.nativeprocvars.rtl !== undefined ) {
else ui_rtl = true;
}
-if ( ui_rtl && !isIE ) {
+if ( ui_rtl && isIEBrowser !== true ) {
document.body.setAttribute('dir', 'rtl');
document.body.classList.add('rtl');
}
@@ -87,7 +86,7 @@ function checkScaling() {
}
}
- if ( !isIE ) {
+ if ( isIEBrowser !== true ) {
matches = {
'pixel-ratio__2_5': 'screen and (-webkit-min-device-pixel-ratio: 2.25), screen and (min-resolution: 2.25dppx)',
};
@@ -107,7 +106,7 @@ let svg_icons = ['./resources/img/iconssmall@2.5x.svg',
window.Common = {
Utils: {
injectSvgIcons: function () {
- if ( isIE ) return;
+ if ( isIEBrowser === true ) return;
let runonce;
// const el = document.querySelector('div.inlined-svg');
diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy
index abdb94fdc2..9f51ca386d 100644
--- a/apps/documenteditor/main/index.html.deploy
+++ b/apps/documenteditor/main/index.html.deploy
@@ -366,9 +366,15 @@