From 43017b00bbf943f35b947ec6b4cdec71ee5c9c1e Mon Sep 17 00:00:00 2001 From: jahlib <60108339+jahlib@users.noreply.github.com> Date: Thu, 6 Nov 2025 02:19:33 +0300 Subject: [PATCH] move private room settings checkbox --- client/game.js | 6 +++--- client/index.html | 46 ++++++++++++++++++++++++---------------------- client/style.css | 8 ++++++++ 3 files changed, 35 insertions(+), 25 deletions(-) diff --git a/client/game.js b/client/game.js index 34d4499..9500600 100644 --- a/client/game.js +++ b/client/game.js @@ -829,11 +829,11 @@ class CardGame { copyInviteLink() { const link = this.inviteLink.textContent; navigator.clipboard.writeText(link).then(() => { - // Временно меняем текст кнопки - const originalText = this.copyLinkBtn.textContent; + // Временно меняем иконку на галочку + const originalHTML = this.copyLinkBtn.innerHTML; this.copyLinkBtn.textContent = '✓'; setTimeout(() => { - this.copyLinkBtn.textContent = originalText; + this.copyLinkBtn.innerHTML = originalHTML; }, 1500); }).catch(err => { console.error('Failed to copy:', err); diff --git a/client/index.html b/client/index.html index 76b2cac..9ed84fb 100644 --- a/client/index.html +++ b/client/index.html @@ -22,7 +22,7 @@ - +
Игра начнётся когда все игроки будут готовы (минимум 2 игрока)
+ +В режиме 36 карт восьмёрка не действует
-Игра начнётся когда все игроки будут готовы (минимум 2 игрока)
@@ -365,8 +367,8 @@ - - + +