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