Fix: button classes revised
This commit is contained in:
@@ -86,21 +86,41 @@ function isTypingTestStage() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function isEnglishTypingStage() {
|
||||
if(sessionStorageManager.playingAppName.indexOf("english") > -1)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function isKoreanTypingStage() {
|
||||
if(sessionStorageManager.playingAppName.indexOf("korean") > -1)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function isTypingWordStage() {
|
||||
let appName = sessionStorageManager.playingAppName;
|
||||
|
||||
if((isTypingPracticeStage() || isTypingTestStage()) && appName.indexOf("_word") > -1)
|
||||
if(appName.indexOf("_word") > -1)
|
||||
return true;
|
||||
|
||||
// if((isTypingPracticeStage() || isTypingTestStage()) && appName.indexOf("_word") > -1)
|
||||
// return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function isTypingSentenceStage() {
|
||||
let appName = sessionStorageManager.playingAppName;
|
||||
|
||||
if((isTypingPracticeStage() || isTypingTestStage()) && appName.indexOf("_sentence") > -1)
|
||||
if(appName.indexOf("_sentence") > -1)
|
||||
return true;
|
||||
|
||||
// if((isTypingPracticeStage() || isTypingTestStage()) && appName.indexOf("_sentence") > -1)
|
||||
// return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user