summaryrefslogtreecommitdiffstats
path: root/nfsw
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2019-10-19 21:53:39 -0400
committerrsiddharth <s@ricketyspace.net>2019-10-19 21:54:05 -0400
commit87164a68b621de0dd633f355cfc71c637a8cbe56 (patch)
tree6971a60feb86ad459bf53f21127e4191b23237c1 /nfsw
parent74bddc7cb1d3a316d4e89fcdef465de1e9ddb584 (diff)
nfsw/static/io.js: Add handling for reset.
Diffstat (limited to 'nfsw')
-rw-r--r--nfsw/static/io.js4
1 files changed, 4 insertions, 0 deletions
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);
};