баги с превью
This commit is contained in:
@@ -521,6 +521,17 @@ try {
|
||||
}, 1200);
|
||||
});
|
||||
|
||||
document.addEventListener('click', (event) => {
|
||||
const notifyButton = event.target.closest('[data-notify-arrival]');
|
||||
|
||||
if (!notifyButton) {
|
||||
return;
|
||||
}
|
||||
|
||||
notifyButton.classList.add('is-sent');
|
||||
notifyButton.textContent = 'Запрос принят';
|
||||
});
|
||||
|
||||
document.addEventListener('click', (event) => {
|
||||
const control = event.target.closest('[data-cart-plus], [data-cart-minus], [data-cart-remove]');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user