diff options
author | rsiddharth <s@ricketyspace.net> | 2019-10-19 21:53:39 -0400 |
---|---|---|
committer | rsiddharth <s@ricketyspace.net> | 2019-10-19 21:54:05 -0400 |
commit | 87164a68b621de0dd633f355cfc71c637a8cbe56 (patch) | |
tree | 6971a60feb86ad459bf53f21127e4191b23237c1 | |
parent | 74bddc7cb1d3a316d4e89fcdef465de1e9ddb584 (diff) |
nfsw/static/io.js: Add handling for reset.
-rw-r--r-- | nfsw/static/io.js | 4 |
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); }; |