diff options
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |