From c1cadd975a886341b8638f6394114ab64d7f846c Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Thu, 22 Feb 2018 16:34:08 +0100 Subject: [PATCH] Add requested changes from QA --- js/questionset.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/questionset.js b/js/questionset.js index d772f84..d0a8fbd 100644 --- a/js/questionset.js +++ b/js/questionset.js @@ -75,7 +75,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { ' <% if (introPage.introduction) { %>' + '
<%= introPage.introduction %>
' + ' <% } %>' + - '
<%= introPage.startButtonText %>
' + + '
<%= introPage.startButtonText %>
' + '' + '<% } %>' + '
' + @@ -957,6 +957,7 @@ H5P.QuestionSet = function (options, contentId, contentData) { $(this).parents('.intro-page').hide(); $('.questionset', $myDom).show(); _showQuestion(params.initialQuestion); + event.preventDefault(); }) .keydown(function (event) { switch (event.which) {