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 @@ - +
@@ -74,6 +74,27 @@ + + + +

Игра начнётся когда все игроки будут готовы (минимум 2 игрока)

+ +
- -
- -

В режиме 36 карт восьмёрка не действует

-
- - - -

Игра начнётся когда все игроки будут готовы (минимум 2 игрока)

@@ -365,8 +367,8 @@ - - + +