update theme chooser

pull/1/head
Rob Stupay 6 years ago committed by yann300
parent 862ddc12a2
commit 4e14673d77
  1. 2
      src/app/ui/styles-guide/theme-chooser.js

@ -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'])

Loading…
Cancel
Save