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

View File

@ -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",