Fix target bug in questionset

pull/1/head
Svein-Tore Griff With 2013-01-20 22:25:34 +01:00
parent 9ee3ee91f3
commit 6c8e2c57af
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ H5P.QuestionSet = function (options, contentId) {
resulttext: (success ? params.endGame.resultPage.successComment : params.endGame.resultPage.failComment),
finishButtonText: params.endGame.resultPage.finishButtonText
};
endTemplate.update(targetId, eparams);
endTemplate.update(target.attr('id'), eparams);
$('.qs-finishbutton').click(function (ev) {
// Display animation if present.
if (params.endGame.animations.showAnimations) {