We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i trying to cast vote but there are some errors when submit the vote. 126 castVote: function() { 127 var candidateId = $('#candidatesSelect').val(); 128 App.contracts.Election.deployed().then(function(instance) { 129 return instance.vote(candidateId, { from: App.account }); 130 }).then(function(result) { 131 // Wait for votes to update 132 $("#content").hide(); 133 $("#loader").show(); 134 }).catch(function(err) { 135 console.error(err); 136 }); 137 } 138 };
at line no 135
The text was updated successfully, but these errors were encountered:
No branches or pull requests
i trying to cast vote but there are some errors when submit the vote.
126 castVote: function() {
127 var candidateId = $('#candidatesSelect').val();
128 App.contracts.Election.deployed().then(function(instance) {
129 return instance.vote(candidateId, { from: App.account });
130 }).then(function(result) {
131 // Wait for votes to update
132 $("#content").hide();
133 $("#loader").show();
134 }).catch(function(err) {
135 console.error(err);
136 });
137 }
138 };
at line no 135
The text was updated successfully, but these errors were encountered: