Fix system theme detection

This commit is contained in:
Guillaume Gomez 2019-08-24 15:18:16 +02:00
parent 478464570e
commit fcbbf8d312

View File

@ -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,