aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_global.js
diff options
context:
space:
mode:
Diffstat (limited to 'views/script/menu_global.js')
-rw-r--r--views/script/menu_global.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/views/script/menu_global.js b/views/script/menu_global.js
index 43937f4..3713591 100644
--- a/views/script/menu_global.js
+++ b/views/script/menu_global.js
@@ -91,6 +91,15 @@ function selectOption() {
location.href = "settings.html";
}, 1000)
break;
+ case 'stats':
+ keysEnabled = false;
+ require('electron').ipcRenderer.send('prefademusic', "");
+ $("#box").fadeOut(500);
+ setTimeout(() => {
+ info("MenuWindow", "Switching control to OptnWindow");
+ location.href = "stats.html";
+ }, 1000)
+ break;
case 'credits':
keysEnabled = false;
require('electron').ipcRenderer.send('prefademusic', "");