diff --git a/ui/create-election.html b/ui/create-election.html index a32933d..cbe33e3 100644 --- a/ui/create-election.html +++ b/ui/create-election.html @@ -120,7 +120,7 @@ areVotersKnown: true, maxVoters: 0, expiresAt: "", - choices: ["", ""] // Start with two empty choices + choices: ["", ""] }, createdElectionId: 0, voterIdentities: [], @@ -128,11 +128,11 @@ errorDetails: {}, addChoice() { - this.election.choices.push(""); // Add a new empty choice + this.election.choices.push(""); }, removeChoice(index) { - this.election.choices.splice(index, 1); // Remove choice by index + this.election.choices.splice(index, 1); }, async copyCode(code) {