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
parent
commit
49747241b7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/Fancybox/plugins/Thumbs/Thumbs.js

2
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"}`,
});
}

Loading…
Cancel
Save