Made introduction text div not beeing rendered if no intro text set
parent
8d58c88657
commit
61e62185a6
|
@ -40,7 +40,9 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
'<% if (introPage.showIntroPage) { %>' +
|
'<% if (introPage.showIntroPage) { %>' +
|
||||||
'<div class="intro-page">' +
|
'<div class="intro-page">' +
|
||||||
' <div class="title"><span><%= introPage.title %></span></div>' +
|
' <div class="title"><span><%= introPage.title %></span></div>' +
|
||||||
' <div class="introduction"><%= introPage.introduction %></div>' +
|
' <% if (introPage.introduction) { %>' +
|
||||||
|
' <div class="introduction"><%= introPage.introduction %></div>' +
|
||||||
|
' <% } %>' +
|
||||||
' <div class="buttons"><a class="qs-startbutton button"><%= introPage.startButtonText %></a></div>' +
|
' <div class="buttons"><a class="qs-startbutton button"><%= introPage.startButtonText %></a></div>' +
|
||||||
'</div>' +
|
'</div>' +
|
||||||
'<% } %>' +
|
'<% } %>' +
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"contentType": "question",
|
"contentType": "question",
|
||||||
"majorVersion": 1,
|
"majorVersion": 1,
|
||||||
"minorVersion": 0,
|
"minorVersion": 0,
|
||||||
"patchVersion": 47,
|
"patchVersion": 48,
|
||||||
"runnable": 1,
|
"runnable": 1,
|
||||||
"fullscreen": 0,
|
"fullscreen": 0,
|
||||||
"machineName": "H5P.QuestionSet",
|
"machineName": "H5P.QuestionSet",
|
||||||
|
|
Loading…
Reference in New Issue