summaryrefslogtreecommitdiff
path: root/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'page.html')
-rw-r--r--page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.html b/page.html
index d003ee3..0508794 100644
--- a/page.html
+++ b/page.html
@@ -121,7 +121,7 @@
info_elem.onclick = e => { s.send("reset") };
} break;
case "logoff": {
- let oid = fields[1];
+ let oid = Number(fields[1]);
cursors.get(oid).elem.remove();
cursors.get(oid).selwin.remove();
cursors.delete(oid);