Fix system theme detection
This commit is contained in:
parent
478464570e
commit
fcbbf8d312
@ -118,7 +118,8 @@ function switchTheme(styleElem, mainStyleElem, newTheme, saveTheme) {
|
||||
}
|
||||
|
||||
function getSystemValue() {
|
||||
return getComputedStyle(document.documentElement).getPropertyValue('content');
|
||||
var property = getComputedStyle(document.documentElement).getPropertyValue('content');
|
||||
return property.replace(/\"\'/g, "");
|
||||
}
|
||||
|
||||
switchTheme(currentTheme, mainTheme,
|
||||
|
Loading…
Reference in New Issue
Block a user