From 87164a68b621de0dd633f355cfc71c637a8cbe56 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 19 Oct 2019 21:53:39 -0400 Subject: nfsw/static/io.js: Add handling for reset. --- nfsw/static/io.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nfsw/static/io.js b/nfsw/static/io.js index 36965c5..ae88644 100644 --- a/nfsw/static/io.js +++ b/nfsw/static/io.js @@ -35,6 +35,10 @@ document.addEventListener('DOMContentLoaded', function() { ); } + if ('reset' in r && r.reset) { + return window.location.reload(); + } + return barfslow(r.ans, 'concierge', qipoff); }; -- cgit v1.2.3