diff options
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -50,4 +50,17 @@ document.getElementById("confirm").addEventListener("click", () => { session.push(new Round(proposal, session.length)); // Need to update the number of games played here document.getElementById("game_list").innerHTML = session.at(-1).render(); + document.getElementById("timer-start").click(); + const notification = new Notyf({ + duration: 30 * 1000, + position: {x: 'center', y: 'top'}, + types: [{ + type: 'success', + background: 'green', + duration: 1000 * 1000, + dismissible: true + }] + }); + notification.success("Round confirmed!"); + })
\ No newline at end of file |
