Skip to content

Commit

Permalink
fix max submissions display issue (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
msaqib52 committed Jun 15, 2020
1 parent afc966a commit 34e1e19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions poll/public/js/poll.js
Expand Up @@ -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')) {
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -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',
Expand Down

0 comments on commit 34e1e19

Please sign in to comment.