From a72e2e70144ed95880cc0b67d6214b49c4409daf0f1c75136d6a47d5ebfa5647 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 16 Jul 2026 14:42:17 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B3=D0=B8=D1=81=D1=82=D1=80?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D1=8F:=20=D0=B2=D0=B5=D1=80=D0=BD=D1=83?= =?UTF-8?q?=D1=82=D1=8C=20=D0=BF=D0=BE=D0=BB=D0=B5=20=D0=B2=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=BF=D0=B0=D1=80=D0=BE=D0=BB=D1=8F=20(=D0=B8?= =?UTF-8?q?=D0=BD=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D1=8F=20=D0=B2=D0=B8=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8=20passwordInputRow)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Условие показа строки ввода пароля было перевёрнуто (баг из доработки регистрации в main): поле скрывалось в обычном режиме и «показывалось» в режиме 12 слов внутри скрытого родителя — т.е. не было видно никогда. Проверено: обычный режим — поле видно, режим 12 слов — сетка слов. VERSION: client 1.2.316. Co-Authored-By: Claude Opus 4.8 (1M context) --- VERSION.properties | 2 +- shine-UI/js/pages/register-view.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION.properties b/VERSION.properties index f173214..46908df 100644 --- a/VERSION.properties +++ b/VERSION.properties @@ -1,2 +1,2 @@ -client.version=1.2.315 +client.version=1.2.316 server.version=1.2.292 diff --git a/shine-UI/js/pages/register-view.js b/shine-UI/js/pages/register-view.js index d02fe09..6eba747 100644 --- a/shine-UI/js/pages/register-view.js +++ b/shine-UI/js/pages/register-view.js @@ -296,7 +296,8 @@ export function render({ navigate }) { const wordsMode = passwordMode === 'words'; wordsSection.style.display = wordsMode ? 'grid' : 'none'; if (passwordField) passwordField.style.display = wordsMode ? 'none' : 'grid'; - passwordInputRow.style.display = wordsMode ? 'grid' : 'none'; + // Строка ввода видна в обычном режиме и скрыта в режиме «12 слов» (раньше условие было перевёрнуто — поле пропадало всегда). + passwordInputRow.style.display = wordsMode ? 'none' : 'grid'; updateWordsPreview(); }