summaryrefslogtreecommitdiff
path: root/src/Wordle.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wordle.vue')
-rw-r--r--src/Wordle.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Wordle.vue b/src/Wordle.vue
index 279f912..c391b4c 100644
--- a/src/Wordle.vue
+++ b/src/Wordle.vue
@@ -58,7 +58,10 @@ function submit() {
xmlHttp.onreadystatechange = function () {
if (this.readyState == 4 && this.status == 200) {
current.backendResponse = JSON.parse(xmlHttp.responseText);
- if (current.backendResponse.is_in_dictionary && !current.backendResponse.is_solved) {
+ if (
+ current.backendResponse.is_in_dictionary &&
+ !current.backendResponse.is_solved
+ ) {
current.trial = "";
}
}