diff options
author | Cesar G <prototech91@gmail.com> | 2013-10-07 07:39:50 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2013-10-07 07:39:50 -0700 |
commit | 7f312772699c10339a8c50ef7952179da40ef7e7 (patch) | |
tree | 669fda54000096deab610db0c6947c2e0d1a363d /phpBB/styles/prosilver/template/ajax.js | |
parent | 637a5a5eea6eaa876d1d69386dd688d0f44efa69 (diff) | |
download | forums-7f312772699c10339a8c50ef7952179da40ef7e7.tar forums-7f312772699c10339a8c50ef7952179da40ef7e7.tar.gz forums-7f312772699c10339a8c50ef7952179da40ef7e7.tar.bz2 forums-7f312772699c10339a8c50ef7952179da40ef7e7.tar.xz forums-7f312772699c10339a8c50ef7952179da40ef7e7.zip |
[ticket/10383] Make the content transitions smoother.
PHPBB3-10383
Diffstat (limited to 'phpBB/styles/prosilver/template/ajax.js')
-rw-r--r-- | phpBB/styles/prosilver/template/ajax.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/styles/prosilver/template/ajax.js b/phpBB/styles/prosilver/template/ajax.js index decbba1d89..39beab4f16 100644 --- a/phpBB/styles/prosilver/template/ajax.js +++ b/phpBB/styles/prosilver/template/ajax.js @@ -171,7 +171,7 @@ phpbb.addAjaxCallback('vote_poll', function(res) { // Remove the View results link if (!results_visible) { - poll.find('.poll_view_results').fadeOut(500); + poll.find('.poll_view_results').hide(500); } if (!res.can_vote) { @@ -180,7 +180,7 @@ phpbb.addAjaxCallback('vote_poll', function(res) { }); } else { // If the user can still vote, simply slide down the results - poll.find('.resultbar, .poll_option_percent, .poll_total_votes').slideDown(500); + poll.find('.resultbar, .poll_option_percent, .poll_total_votes').show(500); } // Update the total votes count @@ -229,8 +229,8 @@ $('.poll_view_results a').click(function(e) { var poll = $(this).parents('.topic_poll'); - poll.find('.resultbar, .poll_option_percent, .poll_total_votes').slideDown(500); - poll.find('.poll_view_results').fadeOut(500); + poll.find('.resultbar, .poll_option_percent, .poll_total_votes').show(500); + poll.find('.poll_view_results').hide(500); }); $('[data-ajax]').each(function() { |