mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 03:53:19 +08:00
[main] debug
This commit is contained in:
@ -60,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');
|
||||
}
|
||||
@ -86,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)',
|
||||
};
|
||||
@ -106,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');
|
||||
|
||||
Reference in New Issue
Block a user