Fix: back to main_menu.html
This commit is contained in:
@@ -269,7 +269,8 @@ var TypingExamination = {
|
||||
|
||||
back: function() {
|
||||
sessionStorageManager.resetPlayingAppData();
|
||||
location.href = '../../web/client/menu_typing_exam.html';
|
||||
// location.href = '../../web/client/menu_typing_exam.html';
|
||||
location.href = '../../web/client/main_menu.html';
|
||||
},
|
||||
|
||||
startGame: function() {
|
||||
@@ -358,10 +359,10 @@ var TypingExamination = {
|
||||
var directory = writer + writerID + "/";
|
||||
var filename = writingInfo["filename"];
|
||||
var url = path + directory + filename;
|
||||
if(isDebugMode()) {
|
||||
url = path + "system/sample.txt";
|
||||
console.log(url);
|
||||
}
|
||||
// if(isDebugMode()) {
|
||||
// url = path + "system/sample.txt";
|
||||
// console.log(url);
|
||||
// }
|
||||
|
||||
game.load.onLoadComplete.add(this.completeLoadingWriting, this);
|
||||
game.load.text("writing", url);
|
||||
|
||||
Reference in New Issue
Block a user