Fix: typing_examination -> typing_exam
This commit is contained in:
@@ -37,7 +37,7 @@ function TypingExamButton(x, y, iconName, buttonText, writingID) {
|
||||
|
||||
TypingExamButton.prototype.onClick = function() {
|
||||
sessionStorageManager.setWritingID(this.writingID);
|
||||
location.href = '../../web/client/typing_examination.html';
|
||||
location.href = '../../web/client/typing_exam.html';
|
||||
// printSessionStorage();
|
||||
}
|
||||
|
||||
|
||||
@@ -100,18 +100,21 @@ function isMouseGameApp() {
|
||||
|
||||
|
||||
function isTypingPracticeApp() {
|
||||
var appName = sessionStorageManager.getPlayingAppName();
|
||||
|
||||
if(appName.indexOf("practice_") > -1)
|
||||
if(sessionStorageManager.getPlayingAppName().indexOf("practice_") > -1)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function isTypingTestApp() {
|
||||
var appName = sessionStorageManager.getPlayingAppName();
|
||||
if(sessionStorageManager.getPlayingAppName().indexOf("test_") > -1)
|
||||
return true;
|
||||
|
||||
if(appName.indexOf("test_") > -1)
|
||||
return false;
|
||||
}
|
||||
|
||||
function isTypingExamApp() {
|
||||
if(sessionStorageManager.getPlayingAppName() == "typing_exam")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user