Making timing better for new score bar [HFP-1229]
parent
cda9ceaeec
commit
facea236ce
|
@ -772,7 +772,6 @@ H5P.QuestionSet = function (options, contentId, contentData) {
|
||||||
scoreBar = H5P.JoubelUI.createScoreBar(totals);
|
scoreBar = H5P.JoubelUI.createScoreBar(totals);
|
||||||
}
|
}
|
||||||
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
scoreBar.appendTo($('.feedback-scorebar', $myDom));
|
||||||
scoreBar.setScore(finals);
|
|
||||||
$('.feedback-text', $myDom).html(scoreString);
|
$('.feedback-text', $myDom).html(scoreString);
|
||||||
|
|
||||||
// Announce that the question set is complete
|
// Announce that the question set is complete
|
||||||
|
@ -783,6 +782,7 @@ H5P.QuestionSet = function (options, contentId, contentData) {
|
||||||
eparams.comment + '.' +
|
eparams.comment + '.' +
|
||||||
eparams.resulttext)
|
eparams.resulttext)
|
||||||
.show().focus();
|
.show().focus();
|
||||||
|
scoreBar.setScore(finals);
|
||||||
}, 0);
|
}, 0);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue