Skip to content

Commit

Permalink
Merge pull request #63 from EGC-zambrano/bugfix/vote-render
Browse files Browse the repository at this point in the history
fix: decideSend boolean vote
  • Loading branch information
MartaInes committed Dec 18, 2023
2 parents f9b4167 + c6dee2a commit 3716746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decide/booth/templates/booth/booth.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ <h2 class="voting-desc">[[ voting.question.desc ]]</h2>
},
decideSend(evt) {
evt.preventDefault();
if (this.questionType === 'S' or this.questionType === 'B'){
if (this.questionType === 'S' || this.questionType === 'B'){
var v = this.decideEncrypt(this.selected.toString());
var data = {
vote: {a: v.alpha.toString(), b: v.beta.toString()},
Expand Down

0 comments on commit 3716746

Please sign in to comment.