Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
haxgun authored Sep 15, 2024
1 parent 6b3dba3 commit 8690309
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ document.querySelector("#app").innerHTML = `
@keyup.enter="if (await checkNickname(nickname)) { getPreview(); search = true; main();} else { alert = true; setTimeout(() => alert = false, 5000)}"
x-model="hdevApiKey"
class="nickname"
id="nickname_with_tag"
id="hdevApi"
placeholder="HDEV API KEY"
autocomplete="off"
/>
Expand Down Expand Up @@ -573,6 +573,7 @@ document.querySelector("#app").innerHTML = `
`;

async function getPreview() {
const hdevApiKey = document.getElementById("hdevApi");
// Get Nickname, Tag, Region
const inputNicknameWithTag = document.getElementById("nickname_with_tag");
const nicknameWithTag = inputNicknameWithTag.value;
Expand Down

0 comments on commit 8690309

Please sign in to comment.