[common] skip theme's colors updatre for IE
This commit is contained in:
parent
4bcdf7d071
commit
bca6099e18
|
@ -18,6 +18,7 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
var refresh_sdk_colors = function () {
|
var refresh_sdk_colors = function () {
|
||||||
|
if ( !(Common.Utils.isIE10 || Common.Utils.isIE11) ) {
|
||||||
var style = getComputedStyle(document.body);
|
var style = getComputedStyle(document.body);
|
||||||
if ( !!window.DE ) {
|
if ( !!window.DE ) {
|
||||||
var color_background_normal = style.getPropertyValue('--background-normal');
|
var color_background_normal = style.getPropertyValue('--background-normal');
|
||||||
|
@ -36,6 +37,7 @@ define([
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
THEME_LIGHT_ID: 'theme-light',
|
THEME_LIGHT_ID: 'theme-light',
|
||||||
THEME_DARK_ID: 'theme-dark',
|
THEME_DARK_ID: 'theme-dark',
|
||||||
|
|
Loading…
Reference in a new issue