diff --git a/js/questionset.js b/js/questionset.js index 91678aa..be05071 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -68,7 +68,7 @@ H5P.QuestionSet = function (options, contentId) { var resulttemplate = '
' + - '
<%= greeting %>
' + + '
<%= message %>
' + '
' + '
' + '
<% if (comment) { %>

<%= comment %>

<% } %><%= score %>
<%= resulttext %>
' + @@ -97,7 +97,7 @@ H5P.QuestionSet = function (options, contentId) { }, endGame: { showResultPage: true, - greeting: 'Your result:', + message: 'Your result:', successGreeting: 'Congratulations!', successComment: 'You have enough correct answers to pass the test.', failGreeting: 'Sorry!', @@ -235,7 +235,7 @@ H5P.QuestionSet = function (options, contentId) { } var eparams = { - greeting: params.endGame.greeting, + message: params.endGame.message, comment: (success ? params.endGame.successGreeting : params.endGame.failGreeting), score: scoreString, scoreclass: (success ? 'success' : 'fail'), diff --git a/library.json b/library.json index 698195f..4e2bf6b 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "contentType": "question", "majorVersion": 1, "minorVersion": 0, - "patchVersion": 38, + "patchVersion": 39, "runnable": 1, "fullscreen": 0, "machineName": "H5P.QuestionSet",