Fix: typing test app bug, code revised
This commit is contained in:
@@ -19,9 +19,9 @@ var Result = {
|
||||
// top ui
|
||||
var screenTopUI = new ScreenTopUI();
|
||||
screenTopUI.makeBackButton( function() {
|
||||
if(isTypingPracticeStage())
|
||||
if(isTypingPracticeApp())
|
||||
location.href = '../../web/client/menu_typing_practice.html';
|
||||
else if(isTypingTestStage())
|
||||
else if(isTypingTestApp())
|
||||
location.href = '../../web/client/menu_typing_test.html';
|
||||
else
|
||||
location.href = '../../web/client/menu_app.html';
|
||||
@@ -153,18 +153,6 @@ var Result = {
|
||||
|
||||
restartStage: function() {
|
||||
location.href = "../../web/client/" + getGameAppName() + ".html";
|
||||
/*
|
||||
if(isTypingPracticeApp())
|
||||
location.href = "../../web/client/typing_practice.html";
|
||||
else if(isTypingTestApp())
|
||||
location.href = "../../web/client/typing_test.html";
|
||||
else if(isTypingGameApp())
|
||||
location.href = "../../web/client/" + this.getGameAppName() + ".html";
|
||||
// else if(isMouseGameApp())
|
||||
// location.href = "../../web/client/" + this.getGameAppName() + ".html";
|
||||
else
|
||||
location.href = "../../web/client/" + sessionStorageManager.getPlayingAppName() + ".html";
|
||||
*/
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user