|
|
@ -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); |
|
|
|
|
|
|
|