This commit is contained in:
vladislav 2026-09-23 06:34:07 -04:00
parent 5e711bc4e9
commit 83f0485fb7
Signed by: Vladislav
GPG Key ID: B6B4ECD9C7CA9D2D

View File

@ -281,7 +281,7 @@ function loadAndClick() {
select.parentNode.classList.remove('error');
}
}
if (selectedPosts.length === max_paintings) {
if (selectedPosts.length > max_paintings) {
showToast({message: `Максимальное кол-во картин: ${max_paintings}`, status: 'error'});
return;
}