Background image need to be set on container.

d3summaryChart
Frank Ronny Larsen 2013-01-15 08:09:59 +01:00
parent 5ad15675f8
commit ac381582c5
1 changed files with 1 additions and 3 deletions

View File

@ -141,7 +141,6 @@ H5P.QuestionSet = function (options) {
questionInstances.push(tmp);
}
var _updateFinishButton = function () {
var answered = true;
for (var i = questionInstances.length - 1; i >= 0; i--) {
@ -185,8 +184,7 @@ H5P.QuestionSet = function (options) {
// Render own DOM into target.
template.update(targetId, params);
$myDom = $('#' + targetId);
$myDom.find(".questionset").css({backgroundImage: 'url(' + params.backgroundImage + ')'});
$myDom.css({backgroundImage: 'url(' + params.backgroundImage + ')'});
// Attach questions
for (var i=0; i<questionInstances.length; i++) {