From d4caa42d3f2fbc850248e0bf06f438f77b73e5ba Mon Sep 17 00:00:00 2001 From: Minteck Date: Sun, 6 Jun 2021 01:32:31 +0200 Subject: Commit --- views/script/menu_global.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'views/script/menu_global.js') 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', ""); -- cgit