Fix: button classes revised
This commit is contained in:
1 parent
22da6a1f49
commit
bc24bea9d1
27 files changed
+459
-272
No files matched your search
@@ -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