[main] debug

This commit is contained in:
maxkadushkin
2024-12-09 14:40:52 +03:00
parent 97c0f6fb48
commit c057bb38d6

View File

@ -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');