Skip to content

Commit

Permalink
fix: reset button becomes available after submission (openedx#33490)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafayGhafoor authored Oct 17, 2023
1 parent 56436e1 commit bf6ed5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/templates/problem.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 class="hd hd-3 problem-header" id="${ short_id }-problem-title" aria-describ
</button>
</span>
% endif
% if reset_button:
% if attempts_used and reset_button:
<span class="problem-action-button-wrapper">
<button type="button" class="reset problem-action-btn btn-link btn-small" data-value="${_('Reset')}"><span aria-hidden="true">${_('Reset')}</span><span class="sr">${_("Reset your answer")}</span></button>
</span>
Expand Down

0 comments on commit bf6ed5e

Please sign in to comment.