Fix: () => { } -> function() { }
This commit is contained in:
@@ -5,7 +5,7 @@ function loadMaestroExperienceAccount() {
|
||||
"./../server/maestro/maestro_experience_account.php",
|
||||
"",
|
||||
|
||||
(jsonData) => {
|
||||
(function(jsonData) {
|
||||
let maestroID = jsonData["maestroID"];
|
||||
let playerID = jsonData["playerID"];
|
||||
let playerName = jsonData["playerName"];
|
||||
@@ -19,11 +19,11 @@ function loadMaestroExperienceAccount() {
|
||||
sessionStorage.setItem("playerName", playerName);
|
||||
|
||||
location.href = "./../maestro/main_menu.html";
|
||||
},
|
||||
}),
|
||||
|
||||
(errorMessage, errorCode) => {
|
||||
(function(errorMessage, errorCode) {
|
||||
showErrorMessage(errorMessage, "error");
|
||||
}
|
||||
})
|
||||
|
||||
);
|
||||
let xhr = new XMLHttpRequest(); //new로 생성.
|
||||
|
||||
Reference in New Issue
Block a user