Commit 4e14673d authored by Rob Stupay's avatar Rob Stupay Committed by yann300

update theme chooser

parent 862ddc12
......@@ -19,7 +19,7 @@ const themeVariable = {
module.exports = {
chooser: function () {
var themeStorage = new Storage('style:')
const themeStorage = new Storage('style:')
if (themeStorage.exists('theme')) {
if (themeStorage.get('theme') === 'dark') {
document.getElementById('theme-link').setAttribute('href', themes['dark'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment