From 4e14673d7769977d0f8a9743ce52a71ed5205e6a Mon Sep 17 00:00:00 2001 From: Rob Stupay Date: Tue, 19 Feb 2019 11:25:56 +0100 Subject: [PATCH] update theme chooser --- src/app/ui/styles-guide/theme-chooser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/styles-guide/theme-chooser.js b/src/app/ui/styles-guide/theme-chooser.js index 671f0e5f8a..2dc60d3b74 100644 --- a/src/app/ui/styles-guide/theme-chooser.js +++ b/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'])