change create button loading text

This commit is contained in:
AlecM33
2023-08-19 13:13:40 -04:00
parent 682844d241
commit 618fb868f4

View File

@@ -101,7 +101,7 @@ export class GameCreationStepManager {
const button = document.getElementById('create-game');
button.removeEventListener('click', this.steps['5'].forwardHandler);
button.classList.add('submitted');
button.innerText = 'Creating...';
button.innerText = '...';
const restoreButton = () => {
button.innerText = 'Create';
button.classList.remove('submitted');