1
Fork 0

Fix regex replacement in theme detection

This commit is contained in:
Guillaume Gomez 2019-09-02 15:58:05 +02:00
parent fdaf594bab
commit 991f436633

View file

@ -119,7 +119,7 @@ function switchTheme(styleElem, mainStyleElem, newTheme, saveTheme) {
function getSystemValue() {
var property = getComputedStyle(document.documentElement).getPropertyValue('content');
return property.replace(/\"\'/g, "");
return property.replace(/[\"\']/g, "");
}
switchTheme(currentTheme, mainTheme,