Browse Source

Fix element order

pull/140/head
Jānis Skarnelis 3 years ago
parent
commit
f4b0115bc0
  1. 10
      src/Fancybox/Fancybox.js

10
src/Fancybox/Fancybox.js

@ -854,15 +854,7 @@ class Fancybox extends Base {
slide.$content = $content;
// console.log(`---`);
// console.log($el);
// console.log($content);
// const frag = document.createRange().createContextualFragment(html);
// document.body.appendChild( frag );
$el.appendChild($content);
// $el.appendChild(frag);
$el.prepend($content);
this.manageCloseButton(slide);

Loading…
Cancel
Save