Skip to content

Commit

Permalink
delete anonymous option
Browse files Browse the repository at this point in the history
  • Loading branch information
whynotkimhari committed Aug 25, 2023
1 parent c3c2a01 commit 7e1d6d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function handlePlayerName() {
swal({
text: 'Enter your name to save your records',
content: "input",
buttons: ['Anonymous', 'OK']
buttons: 'OK'
})
.then(text => {
if (text) {
Expand Down Expand Up @@ -127,6 +127,7 @@ function handlePlayerName() {
else location.reload();
})
}
else location.reload();
})
}

Expand Down

0 comments on commit 7e1d6d2

Please sign in to comment.