[common] skip theme's colors updatre for IE

This commit is contained in:
Maxim Kadushkin 2021-04-02 12:22:17 +03:00
parent 4bcdf7d071
commit bca6099e18

View file

@ -18,6 +18,7 @@ define([
}
var refresh_sdk_colors = function () {
if ( !(Common.Utils.isIE10 || Common.Utils.isIE11) ) {
var style = getComputedStyle(document.body);
if ( !!window.DE ) {
var color_background_normal = style.getPropertyValue('--background-normal');
@ -36,6 +37,7 @@ define([
});
}
}
}
return {
THEME_LIGHT_ID: 'theme-light',
THEME_DARK_ID: 'theme-dark',