Skip to content

Commit f7ca960

Browse files
Merge pull request #122 from nteske/ApostropheErrorsFix
Apostrophe Errors Fix
2 parents 18b6640 + f9ad0b0 commit f7ca960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

widget/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,10 +507,10 @@
507507
}
508508

509509
if (bgImage) {
510-
style.innerHTML += "body { background: no-repeat url('" + buildfire.imageLib.cropImage(bgImage, {
510+
style.innerHTML += "#light-folder-body{ background: no-repeat url('" + buildfire.imageLib.cropImage(bgImage, {
511511
width: window.innerWidth,
512512
height: window.innerHeight
513-
}) + "') !Important; background-size: cover !important; } ";
513+
}).replace(/'/g,"%27") + "') !Important; background-size: cover !important; } ";
514514
// enable for imageCache
515515
// style.innerHTML += "body { background-size: cover !important; } ";
516516
// buildfire.imageLib.cropImage(bgImage, { width: window.innerWidth, height: window.innerHeight }, document.body);

0 commit comments

Comments
 (0)