diff options
author | Marc Alexander <admin@m-a-styles.de> | 2018-10-09 14:25:12 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2018-10-09 14:25:12 +0200 |
commit | 6a6c1b0463c9a7efe6fb535413c55ae81dbffffd (patch) | |
tree | ce9d6fe3ad73944a0328cb5e08d340802a160ea5 /phpBB | |
parent | 65699d501d90b6b02bcc69dcb73f3d295c98f593 (diff) | |
parent | 71ae82fbef90cfa009fa5f2835dbf0f19f8aa33e (diff) | |
download | forums-6a6c1b0463c9a7efe6fb535413c55ae81dbffffd.tar forums-6a6c1b0463c9a7efe6fb535413c55ae81dbffffd.tar.gz forums-6a6c1b0463c9a7efe6fb535413c55ae81dbffffd.tar.bz2 forums-6a6c1b0463c9a7efe6fb535413c55ae81dbffffd.tar.xz forums-6a6c1b0463c9a7efe6fb535413c55ae81dbffffd.zip |
Merge pull request #5366 from kasimi/ticket/15799
[ticket/15799] Find correct poll for voting animation
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/styles/prosilver/template/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index 6903ad2261..5e66e5cda1 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -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; |