From b29f82bc0afca425bb42fecc0583e804701110dd Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Fri, 6 Aug 2021 18:30:05 -0300 Subject: read timestamps as JSON when they start with [ ...instead of {. lol --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.js b/ui.js index f03c24b..594c6f8 100644 --- a/ui.js +++ b/ui.js @@ -1171,7 +1171,7 @@ class AppElement extends FocusElement { return null } - if (contents.startsWith('{')) { + if (contents.startsWith('[')) { try { return JSON.parse(contents) } catch (error) { -- cgit 1.3.0-6-gf8a5