Removed sr span inside the show answer button
This commit is contained in:
@@ -379,7 +379,6 @@ class @Problem
|
||||
|
||||
`// Translators: the word Answer here refers to the answer to a problem the student must solve.`
|
||||
@$('.show-label').text gettext('Hide Answer')
|
||||
@$('.show-label .sr').text gettext('Hide Answer')
|
||||
@el.addClass 'showed'
|
||||
@updateProgress response
|
||||
window.SR.readElts(answer_text)
|
||||
@@ -389,7 +388,6 @@ class @Problem
|
||||
@el.removeClass 'showed'
|
||||
`// Translators: the word Answer here refers to the answer to a problem the student must solve.`
|
||||
@$('.show-label').text gettext('Show Answer')
|
||||
@$('.show-label .sr').text gettext('Reveal Answer')
|
||||
window.SR.readText(gettext('Answer hidden'))
|
||||
|
||||
@el.find(".capa_inputtype").each (index, inputtype) =>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<button class="save" data-value="${_('Save')}">${_('Save')}<span class="sr"> ${_("your answer")}</span></button>
|
||||
% endif
|
||||
% if answer_available:
|
||||
<button class="show"><span class="show-label">${_('Show Answer')}</span> <span class="sr">${_("Reveal Answer")}</span></button>
|
||||
<button class="show"><span class="show-label">${_('Show Answer')}</span> </button>
|
||||
% endif
|
||||
% if attempts_allowed :
|
||||
<div class="submission_feedback">
|
||||
|
||||
Reference in New Issue
Block a user