Removed sr span inside the show answer button

This commit is contained in:
Ahsan Ulhaq
2015-03-13 17:14:05 +05:00
parent a715bd7053
commit 02fc7fd8e7
2 changed files with 1 additions and 3 deletions

View File

@@ -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) =>