commit
cb8db9b35e
|
@ -282,7 +282,7 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
if (params.backgroundImage !== undefined) {
|
||||
$myDom.css({
|
||||
overflow: 'hidden',
|
||||
background: '#000 url("' + H5P.getPath(params.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
|
||||
background: '#fff url("' + H5P.getPath(params.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
|
||||
backgroundSize: '100% auto'
|
||||
});
|
||||
}
|
||||
|
@ -291,7 +291,7 @@ H5P.QuestionSet = function (options, contentId) {
|
|||
var $intro = $myDom.find('.intro-page');
|
||||
if ($intro.length) {
|
||||
$intro.css({
|
||||
background: '#000 url("' + H5P.getPath(params.introPage.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
|
||||
background: '#fff url("' + H5P.getPath(params.introPage.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
|
||||
backgroundSize: '100% auto'
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue