From 83f0485fb754621b900e3f6c06d2f400276a7a3ae795033e31665d4dbab527f9 Mon Sep 17 00:00:00 2001 From: vladislav Date: Wed, 23 Sep 2026 06:34:07 -0400 Subject: [PATCH] fix --- templates/profile/competition/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/profile/competition/index.html b/templates/profile/competition/index.html index 8af016e..86d52aa 100644 --- a/templates/profile/competition/index.html +++ b/templates/profile/competition/index.html @@ -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; }