Skip to content
Snippets Groups Projects
Commit dbd0886a authored by Ben Adida's avatar Ben Adida
Browse files

fixed the way the loading gif is displayed

parent 703d2871
No related branches found
No related tags found
No related merge requests found
......@@ -103,4 +103,7 @@ h3 {
#election_hash {
font-family: courier;
}
#loading_div {
display: none;
}
\ No newline at end of file
......@@ -31,7 +31,7 @@ You will then be guided to re-encrypt your choices for final casting.
Once you click "Proceed", Helios will remember only your encrypted vote. Thus, only you know your vote.</p>
<button id="proceed_button" onclick="BOOTH.cast_ballot();">Proceed to Submission</button><br />
<div id="loading_div"></div>
<div id="loading_div"><img src="loading.gif" id="proceed_loading_img" /></div>
......
......@@ -563,7 +563,7 @@ BOOTH.post_audited_ballot = function() {
BOOTH.cast_ballot = function() {
// show progress spinner
$('#loading_div').html('<img src="loading.gif" id="proceed_loading_img" />');
$('#loading_div').show();
$('#proceed_button').attr('disabled', 'disabled');
// at this point, we delete the plaintexts by resetting the ballot
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment