diff options
author | Vinzenz <vinzenz.rosenkranz@gmail.com> | 2016-02-21 15:21:03 +0300 |
---|---|---|
committer | Vinzenz <vinzenz.rosenkranz@gmail.com> | 2016-02-21 15:21:03 +0300 |
commit | 1b9a027107db8897c775062e2198aa8dffac01f4 (patch) | |
tree | 8c9333a205b37343f074d28fd79bbbc102563382 /js/vote.js | |
parent | 7e850e7315e346519d81374edfa2144dcce45b72 (diff) |
minor fixes0.6.9.1
Diffstat (limited to 'js/vote.js')
-rw-r--r-- | js/vote.js | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -66,7 +66,6 @@ $(document).on('click', '.poll-cell-active-un', function(e) { newUserDates.push(ts); newUserTypes.push(2); $(this).switchClass('poll-cell-active-un', 'poll-cell-active-maybe'); - $(this).switchClass('icon-info', 'icon-more'); }); $(document).on('click', '.poll-cell-active-not', function(e) { @@ -82,7 +81,6 @@ $(document).on('click', '.poll-cell-active-not', function(e) { var total_no = document.getElementById('id_n_' + ts); total_no.innerHTML = parseInt(total_no.innerHTML) - 1; $(this).switchClass('poll-cell-active-not', 'poll-cell-active-maybe'); - $(this).switchClass('icon-close', 'icon-more'); findNewMaxCount(); updateStrongCounts(); }); @@ -100,7 +98,6 @@ $(document).on('click', '.poll-cell-active-maybe', function(e) { var total_yes = document.getElementById('id_y_' + ts); total_yes.innerHTML = parseInt(total_yes.innerHTML) + 1; $(this).switchClass('poll-cell-active-maybe', 'poll-cell-active-is'); - $(this).switchClass('icon-more', 'icon-checkmark'); findNewMaxCount(); updateStrongCounts(); }); @@ -120,7 +117,6 @@ $(document).on('click', '.poll-cell-active-is', function(e) { total_yes.innerHTML = parseInt(total_yes.innerHTML) - 1; total_no.innerHTML = parseInt(total_no.innerHTML) + 1; $(this).switchClass('poll-cell-active-is', 'poll-cell-active-not'); - $(this).switchClass('icon-checkmark', 'icon-close'); findNewMaxCount(); updateStrongCounts(); }); |