From 2bebcd6551b3a0b2c725f0b5fa5801dcf2523dba Mon Sep 17 00:00:00 2001 From: stale Date: Fri, 13 May 2022 23:11:51 -0300 Subject: fix logging off --- page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'page.html') 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); -- cgit v1.2.3