load light theme as fallback

This commit is contained in:
btzr-io 2017-08-12 13:51:16 -06:00
parent c9c50349b8
commit 8a416856e3

View file

@ -11,6 +11,7 @@ function setTheme(name) {
link.href = `./themes/${file}`; link.href = `./themes/${file}`;
lbry.setClientSetting("theme", name); lbry.setClientSetting("theme", name);
} else { } else {
link.href = `./themes/light.css`;
lbry.setClientSetting("theme", "light"); lbry.setClientSetting("theme", "light");
} }
} }