veto

Simple Sinatra voting website.
git clone git://git.knutsen.co/veto
Log | Files | Refs | README | LICENSE

commit 121e64e63e7b916f2499d238661f2edd34e48f98
parent 2b2790014eceab8cd4cb8f2688342597789bd1e9
Author: knutsen <samuel@knutsen.co>
Date:   Sat, 19 Jun 2021 00:44:08 +0100

Refresh results every few seconds

Diffstat:
Mpublic/poller.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/poller.js b/public/poller.js @@ -140,7 +140,7 @@ const cast_button = name => { $('document').ready(() => { update_votes(); - //setInterval(update_votes, 6000); // Live view of votes. + setInterval(update_votes, 6000); // Live view of votes. $.ajax({ url: POLL_CODE + '/has-voted',