Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fixing again parenthesis in background URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 7, 2016
1 parent e898855 commit 010a77d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Class.create("PreviewFactory", {
var bgUrl = oImageToLoad.editorClass.prototype.getCoveringBackgroundSource(oImageToLoad.ajxpNode);
bgUrl = bgUrl.replace('(', '\\(').replace(')', '\\)').replace('\'', '\\\'');
oImageToLoad.mainObject.setStyle({
backgroundImage:'url(' + oImageToLoad.editorClass.prototype.getCoveringBackgroundSource(oImageToLoad.ajxpNode) + ')',
backgroundImage:'url(' + bgUrl + ')',
backgroundSize : 'cover'
});
}else{
Expand Down

0 comments on commit 010a77d

Please sign in to comment.