From: Ian Jackson Date: Thu, 26 Nov 2020 22:02:15 +0000 (+0000) Subject: abbrev timestamps - todos X-Git-Tag: otter-0.2.0~346 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=06c9eb11eea6e27bc22c2399507a57b811534c72;p=otter.git abbrev timestamps - todos Signed-off-by: Ian Jackson --- diff --git a/src/session.rs b/src/session.rs index e758aa3e..528cca56 100644 --- a/src/session.rs +++ b/src/session.rs @@ -6,6 +6,7 @@ use crate::imports::*; #[derive(Serialize,Debug)] struct SessionRenderContext { + // xxx abbrev timestamps in Landscape ptoken : RawToken, ctoken : RawToken, player : PlayerId, diff --git a/templates/script.ts b/templates/script.ts index 974bbac1..7a7d93d0 100644 --- a/templates/script.ts +++ b/templates/script.ts @@ -1116,6 +1116,7 @@ function startup() { let lastlogent_s = ''; if (layout == 'Landscape') { + // xxx this is wrong, use value provided by session.rs let lastent = log_elem.lastElementChild; if (lastent !== null) { lastlogent_s = lastent.firstElementChild!.innerHTML;