From d44f2fb73d7272a79447c6fc94625af1893ae60a Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange <58280776+MeowcaTheoRange@users.noreply.github.com> Date: Tue, 6 Dec 2022 02:39:40 -0600 Subject: [PATCH] still cringe ngl --- code/converter.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/converter.js b/code/converter.js index e135140..46204d3 100644 --- a/code/converter.js +++ b/code/converter.js @@ -15,6 +15,9 @@ json.forEach((v, i) => { "---": "---" }; var funnyTable = [ + "|", + "|", + "|" ]; v.appearing_characters.forEach((vv, vi) => { chars[vv[0]] = vv[1]; @@ -35,9 +38,9 @@ json.forEach((v, i) => { } }); if (json[i - 1]) { - funnyTable[0] = "| |"; - funnyTable[1] = "| --- |"; - funnyTable[2] = "| [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |"; + funnyTable[0] += " |"; + funnyTable[1] += " --- |"; + funnyTable[2] += " [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |"; } if (json[i + 1]) { funnyTable[0] += " |";