breakdance & Link Juice Optimizer
-
When trying to delete a product from the cart with the “x” (it doesn’t), an error is generated in the console (F12):
static dontLetScrollTriggerMutateScrollPosition() {
window.addEventListener(“load”, () => {
if (!location.hash) return;
if (window.bdeAnimationScrolled) return;
const scrollElem = document.querySelector(location.hash);
if (!scrollElem) return;// Safari fix: Scroll to the element after the next repaint.
requestAnimationFrame(() => {
scrollElem.scrollIntoView({
behavior: “smooth”,
});
});// Avoid scrolling to the same item twice.
window.bdeAnimationScrolled = true;
}); }
}window.BreakdanceSticky = BreakdanceSticky;
BreakdanceSticky.dontLetScrollTriggerMutateScrollPosition();
})();Thank
The page I need help with: [log in to see the link]
The topic ‘breakdance & Link Juice Optimizer’ is closed to new replies.