OPPG-376: The forgotten code!

pull/1/head
Frode Petterson 2013-06-27 14:29:56 +02:00
parent 232f3285b6
commit 67acf39696
1 changed files with 1 additions and 1 deletions

View File

@ -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'
}); });
} }