Configured webpack-dev-server

This commit is contained in:
n1474335 2017-07-03 23:15:57 +01:00
parent 8eb7d65b74
commit ff78c72d54
4 changed files with 156 additions and 124 deletions

View file

@ -33,7 +33,7 @@
<script type="application/javascript">
// Load theme before the preloader is shown
document.querySelector(":root").className = JSON.parse(localStorage.getItem("options")).theme;
document.querySelector(":root").className = (JSON.parse(localStorage.getItem("options")) || {}).theme;
// Define loading messages
const loadingMsgs = [