OPPG-376: The forgotten code!
parent
232f3285b6
commit
67acf39696
|
@ -269,7 +269,7 @@ H5P.QuestionSet = function (options, contentId) {
|
||||||
if (params.backgroundImage !== undefined) {
|
if (params.backgroundImage !== undefined) {
|
||||||
$myDom.css({
|
$myDom.css({
|
||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
background: '#000 url(' + H5P.getPath(contentId, params.backgroundImage.path) + ') no-repeat 50% 50%',
|
background: '#000 url(' + H5P.getPath(params.backgroundImage.path, contentId) + ') no-repeat 50% 50%',
|
||||||
backgroundSize: '100% auto'
|
backgroundSize: '100% auto'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue