diff --git a/themes/intotheeast/templates/partials/base.html.twig b/themes/intotheeast/templates/partials/base.html.twig index 3ced31e..588baeb 100644 --- a/themes/intotheeast/templates/partials/base.html.twig +++ b/themes/intotheeast/templates/partials/base.html.twig @@ -66,7 +66,8 @@ controls.className = 'strip-controls'; controls.appendChild(prev); controls.appendChild(next); - dots.insertAdjacentElement('afterend', controls); + var wrap = strip.closest('.journal-photo-wrap'); + (wrap || dots).insertAdjacentElement('afterend', controls); }); })();