chiark / gitweb /
abbrev timestamps - todos
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Nov 2020 22:02:15 +0000 (22:02 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 26 Nov 2020 22:02:15 +0000 (22:02 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/session.rs
templates/script.ts

index e758aa3ecfce92e310c906f885bc2759c34794cd..528cca564ae8b74c89a18c6f62c960e60e3bce12 100644 (file)
@@ -6,6 +6,7 @@ use crate::imports::*;
 
 #[derive(Serialize,Debug)]
 struct SessionRenderContext {
+  // xxx abbrev timestamps in Landscape
   ptoken : RawToken,
   ctoken : RawToken,
   player : PlayerId,
index 974bbac1fa562f31e13637a9d9c165133a067032..7a7d93d01a66f35a6f05eaaf8c940479649b568d 100644 (file)
@@ -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;