diff --git a/poll/public/js/poll.js b/poll/public/js/poll.js index b695db8..5d56f85 100644 --- a/poll/public/js/poll.js +++ b/poll/public/js/poll.js @@ -139,6 +139,7 @@ function PollUtil (runtime, element, pollType) { var can_vote = data['can_vote']; $('.poll-current-count', element).text(data['submissions_count']); if (data['max_submissions'] > 1) { + $('.poll-max-submissions', element).text(data['max_submissions']); $('.poll-submissions-count', element).show(); } if ($('div.poll-block', element).data('private')) { diff --git a/setup.py b/setup.py index 44ee4c8..570ee04 100644 --- a/setup.py +++ b/setup.py @@ -46,7 +46,7 @@ def package_data(pkg, roots): setup( name='xblock-poll', - version='1.9.8', + version='1.9.9', description='An XBlock for polling users.', packages=[ 'poll',