diff --git a/src/webapp/public/index.html b/src/webapp/public/index.html
index 907ec59..a2d369b 100644
--- a/src/webapp/public/index.html
+++ b/src/webapp/public/index.html
@@ -5,6 +5,7 @@
+
<%= htmlWebpackPlugin.options.title %>
diff --git a/src/webapp/src/App.vue b/src/webapp/src/App.vue
index 72e9705..dec0a34 100644
--- a/src/webapp/src/App.vue
+++ b/src/webapp/src/App.vue
@@ -164,18 +164,18 @@ export default {
if ( this.theme === '☼' ) {
document.documentElement.classList.remove( 'dark' );
document.documentElement.classList.add( 'light' );
- sessionStorage.setItem( 'theme', '☽' );
+ localStorage.setItem( 'theme', '☽' );
this.theme = '☽';
} else if ( this.theme === '☽' ) {
document.documentElement.classList.remove( 'light' );
document.documentElement.classList.add( 'dark' );
- sessionStorage.setItem( 'theme', '☼' );
+ localStorage.setItem( 'theme', '☼' );
this.theme = '☼';
}
}
},
created () {
- this.theme = sessionStorage.getItem( 'theme' ) ? sessionStorage.getItem( 'theme' ) : '';
+ this.theme = localStorage.getItem( 'theme' ) ? localStorage.getItem( 'theme' ) : '';
if ( window.matchMedia( '(prefers-color-scheme: dark)' ).matches || this.theme === '☼' ) {
document.documentElement.classList.add( 'dark' );
this.theme = '☼';