aboutsummaryrefslogtreecommitdiffhomepage
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/app.js b/app.js
index 21bdbb9..6c83074 100644
--- a/app.js
+++ b/app.js
@@ -5,7 +5,8 @@ const app = new Vue({
5 offline: false, 5 offline: false,
6 filter: '', 6 filter: '',
7 vlayout: true, 7 vlayout: true,
8 isDark: null 8 isDark: null,
9 showMenu: false
9 }, 10 },
10 created: async function () { 11 created: async function () {
11 let that = this; 12 let that = this;
@@ -81,6 +82,9 @@ const app = new Vue({
81 this.vlayout = !this.vlayout; 82 this.vlayout = !this.vlayout;
82 localStorage.vlayout = this.vlayout; 83 localStorage.vlayout = this.vlayout;
83 }, 84 },
85 toggleMenu: function() {
86 this.showMenu = !this.showMenu;
87 }
84 } 88 }
85}); 89});
86 90