19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:32:12 +01:00
parent 79f83631d5
commit 73afc09215
6267 changed files with 1534193 additions and 1130106 deletions

View file

@ -0,0 +1,14 @@
import { patch } from "@web/core/utils/patch";
import { Popup } from "@website/interactions/popup/popup";
patch(Popup.prototype, {
/**
* @override
*/
canBtnPrimaryClosePopup(primaryBtnEl) {
return (
super.canBtnPrimaryClosePopup(...arguments)
&& !primaryBtnEl.classList.contains("js_add_cart")
);
},
});