Changed retry icon for whole task for consistency.
Accepts answered and attempted xapi verbs as well to mark a question as answered. HFJ-946pull/1/head
parent
396abf92b7
commit
ad0acb2898
|
@ -107,7 +107,7 @@
|
|||
.questionset-results a.h5p-button.qs-retrybutton:before {
|
||||
font-family: 'H5PFontAwesome4';
|
||||
padding-right: 0.5em;
|
||||
content: "\f021";
|
||||
content: "\f01e";
|
||||
}
|
||||
|
||||
.qs-footer > .next, .qs-footer > .finish, .qs-finishbutton {
|
||||
|
|
|
@ -391,7 +391,9 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
|
||||
question.on('xAPI', function (event) {
|
||||
var shortVerb = event.getVerb();
|
||||
if (shortVerb === 'interacted') {
|
||||
if (shortVerb === 'interacted' ||
|
||||
shortVerb === 'answered' ||
|
||||
shortVerb === 'attempted') {
|
||||
$('.progress-dot:eq(' + currentQuestion +')', $myDom).removeClass('unanswered').addClass('answered');
|
||||
_updateButtons();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue