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) { %>' +
|
||||
'<div class="intro-page">' +
|
||||
' <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>' +
|
||||
'<% } %>' +
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"contentType": "question",
|
||||
"majorVersion": 1,
|
||||
"minorVersion": 0,
|
||||
"patchVersion": 47,
|
||||
"patchVersion": 48,
|
||||
"runnable": 1,
|
||||
"fullscreen": 0,
|
||||
"machineName": "H5P.QuestionSet",
|
||||
|
@ -48,4 +48,4 @@
|
|||
"minorVersion": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue