From 0b300ad50007a0d8f509f576c49eb1578595c914 Mon Sep 17 00:00:00 2001 From: Vit Rozkovec Date: Sun, 10 Jun 2018 16:42:45 +0200 Subject: [PATCH] Fix for url that contains spaces Without apostrophes thumbnails do not display --- src/js/thumbs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/thumbs.js b/src/js/thumbs.js index 8a2822b4..545b6d50 100644 --- a/src/js/thumbs.js +++ b/src/js/thumbs.js @@ -117,7 +117,7 @@ '" tabindex="0" class="' + CLASS_LOAD + '"' + - (src && src.length ? ' style="background-image:url(' + src + ')" />' : "") + + (src && src.length ? ' style="background-image:url(\'' + src + '\')" />' : "") + ">" ); });