Fix: () => { } -> function() { }
This commit is contained in:
@@ -25,7 +25,7 @@ class HistoryBoard {
|
||||
this.dbConnectManager.requestPlayerHistory(
|
||||
sessionStorageManager.maestroID,
|
||||
date,
|
||||
historyRecordManager => {
|
||||
(function(historyRecordManager) {
|
||||
if(historyRecordManager.count == 0) {
|
||||
console.log("history board - no data");
|
||||
return;
|
||||
@@ -38,7 +38,7 @@ class HistoryBoard {
|
||||
if(date == data.date)
|
||||
this.todayBestRecord = data.bestRecord;
|
||||
}
|
||||
}
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ class Result {
|
||||
|
||||
// top ui
|
||||
let screenTopUI = new ScreenTopUI();
|
||||
screenTopUI.makeBackButton( () => {
|
||||
screenTopUI.makeBackButton( function() {
|
||||
if(isTypingPracticeStage())
|
||||
location.href = '../../web/client/menu_typing_practice.html';
|
||||
else if(isTypingTestStage())
|
||||
|
||||
Reference in New Issue
Block a user