From 55d4723b593468492eb3d0236b117430c4f8464a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Fri, 15 Mar 2019 09:05:18 +0900 Subject: [PATCH] Fix: back button --- src/game/setup/setup.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/game/setup/setup.js b/src/game/setup/setup.js index a2b4059..3009f99 100644 --- a/src/game/setup/setup.js +++ b/src/game/setup/setup.js @@ -26,7 +26,8 @@ var Setup = { // top ui var screenTopUI = new ScreenTopUI(); - screenTopUI.makeHomeButton( (function() { this.back(); }).bind(this) ); + // screenTopUI.makeHomeButton( (function() { this.back(); }).bind(this) ); + screenTopUI.makeBackButton( (function() { this.back(); }).bind(this) ); screenTopUI.makeFullScreenButton(); @@ -57,8 +58,9 @@ var Setup = { }, back: function() { - sessionStorageManager.clear(); - location.href = '../../web/main/index.html'; + // sessionStorageManager.clear(); + // location.href = '../../web/main/index.html'; + location.href = '../../web/client/menu_app.html'; }, makeMaestroNameText: function(x, y) {