Browse Source
Merge pull request #54 from sashsvamir/patch-2
Update Thumbs.js
pull/56/head
Jānis Skarnelis
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Fancybox/plugins/Thumbs/Thumbs.js
|
|
@ -139,7 +139,7 @@ export class Thumbs { |
|
|
|
|
|
|
|
if (thumb) { |
|
|
|
slides.push({ |
|
|
|
html: `<div class="fancybox__thumb" style="background-image:url(${thumb})"></div>`, |
|
|
|
html: `<div class="fancybox__thumb" style="background-image:url('${thumb}')"></div>`, |
|
|
|
customClass: `has-thumb has-${slide.type || "image"}`, |
|
|
|
}); |
|
|
|
} |
|
|
|