Quote URLs in css backgrounds from getPath. Nudged affected library patchVersions
parent
fa96cb75f0
commit
a9bd70ff35
|
@ -292,7 +292,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(params.backgroundImage.path, contentId) + ') no-repeat 50% 50%',
|
background: '#000 url("' + H5P.getPath(params.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
|
||||||
backgroundSize: '100% auto'
|
backgroundSize: '100% auto'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"contentType": "question",
|
"contentType": "question",
|
||||||
"majorVersion": 1,
|
"majorVersion": 1,
|
||||||
"minorVersion": 0,
|
"minorVersion": 0,
|
||||||
"patchVersion": 21,
|
"patchVersion": 22,
|
||||||
"runnable": 1,
|
"runnable": 1,
|
||||||
"machineName": "H5P.QuestionSet",
|
"machineName": "H5P.QuestionSet",
|
||||||
"author": "Amendor AS",
|
"author": "Amendor AS",
|
||||||
|
|
Loading…
Reference in New Issue