aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_music.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/menu_music.js')
-rw-r--r--views/script/menu_music.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/views/script/menu_music.js b/views/script/menu_music.js
new file mode 100644
index 0000000..f1d23f9
--- /dev/null
+++ b/views/script/menu_music.js
@@ -0,0 +1,5 @@
+if (location.search !== "?noreset") {
+ console.log("back");
+ require('electron').ipcRenderer.send('newmusic', kresources.music['title'].file);
+}
+info("MenuWindow", "Menu opened");