Quote URLs in css backgrounds from getPath. Nudged affected library patchVersions

pull/1/head
Frank Ronny Larsen 2013-07-24 17:33:41 +02:00
parent fa96cb75f0
commit a9bd70ff35
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,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: '#000 url("' + H5P.getPath(params.backgroundImage.path, contentId) + '") no-repeat 50% 50%',
backgroundSize: '100% auto'
});
}

View File

@ -3,7 +3,7 @@
"contentType": "question",
"majorVersion": 1,
"minorVersion": 0,
"patchVersion": 21,
"patchVersion": 22,
"runnable": 1,
"machineName": "H5P.QuestionSet",
"author": "Amendor AS",