From ae855de9b23306f168c2ea6444b494dd02520a34 Mon Sep 17 00:00:00 2001 From: kor Date: Wed, 31 Oct 2018 11:19:49 +1300 Subject: [PATCH] Add SHOWDONE to settings. --- docs/content/settings.js | 1 + docs/logic/view.js | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/content/settings.js b/docs/content/settings.js index e96c0af..2e999f5 100644 --- a/docs/content/settings.js +++ b/docs/content/settings.js @@ -16,6 +16,7 @@ const SETTINGS = SHOWNOTE: true, SHOWQOTE: true, SHOWTERM: true, + SHOWDONE: false, SHOWPROG: true, SHOWIMAG: true, SHOWFILE: true, diff --git a/docs/logic/view.js b/docs/logic/view.js index de2fe46..556aada 100644 --- a/docs/logic/view.js +++ b/docs/logic/view.js @@ -291,16 +291,19 @@ function View() menuContent += ``; // DONE - menuContent += ``; + if (SETTINGS.SHOWDONE) + { + menuContent += ``; + } menuContent += `