aboutsummaryrefslogtreecommitdiff
path: root/views/script/menu_global.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-06 01:32:31 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-06 01:32:31 +0200
commitd4caa42d3f2fbc850248e0bf06f438f77b73e5ba (patch)
tree7fe5473ace849339195e0424143a1f70136992da /views/script/menu_global.js
parent021d2788cab7860dcdd8f2f3b81c82b85da2ea86 (diff)
downloadkartik-client-d4caa42d3f2fbc850248e0bf06f438f77b73e5ba.tar.gz
kartik-client-d4caa42d3f2fbc850248e0bf06f438f77b73e5ba.tar.bz2
kartik-client-d4caa42d3f2fbc850248e0bf06f438f77b73e5ba.zip
Commit
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', "");