mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #5366 from kasimi/ticket/15799
[ticket/15799] Find correct poll for voting animation
This commit is contained in:
commit
6a6c1b0463
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ phpbb.addAjaxCallback('zebra', function(res) {
|
|||
*/
|
||||
phpbb.addAjaxCallback('vote_poll', function(res) {
|
||||
if (typeof res.success !== 'undefined') {
|
||||
var poll = $('.topic_poll');
|
||||
var poll = $(this).closest('.topic_poll');
|
||||
var panel = poll.find('.panel');
|
||||
var resultsVisible = poll.find('dl:first-child .resultbar').is(':visible');
|
||||
var mostVotes = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue