mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
change button wording
This commit is contained in:
@@ -42,7 +42,7 @@ export class GameStateRenderer {
|
||||
})
|
||||
.catch((res) => {
|
||||
const button = document.getElementById('restart-game');
|
||||
button.innerText = 'Run it back 🔄';
|
||||
button.innerText = 'Restart Game 🔄';
|
||||
button.classList.remove('submitted');
|
||||
button.addEventListener('click', this.restartGameHandler);
|
||||
toast(res.content, 'error', true, true, 'medium');
|
||||
|
||||
@@ -227,7 +227,7 @@ export const HTMLFragments = {
|
||||
<div id='game-player-list'></div>
|
||||
</div>`,
|
||||
RESTART_GAME_BUTTON:
|
||||
'<button id=\'restart-game\' class=\'app-button\'>Run it back 🔄</button>',
|
||||
'<button id=\'restart-game\' class=\'app-button\'>Restart Game 🔄</button>',
|
||||
CREATE_GAME_DECK:
|
||||
`<div id='deck-container'>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user