From a7fb35e19e28f1c593c982b14c1831c395a3518b Mon Sep 17 00:00:00 2001 From: Hans5958 Date: Sun, 24 Apr 2022 15:18:24 +0700 Subject: [PATCH] Make reset working Resolves #1345 --- web/_js/draw.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/_js/draw.js b/web/_js/draw.js index 46a9f162..c4f53f05 100644 --- a/web/_js/draw.js +++ b/web/_js/draw.js @@ -341,6 +341,10 @@ function initDraw() { descriptionField.value = ""; websiteField.value = ""; subredditField.value = ""; + + pathWithPeriods = [] + pathWithPeriods.push([defaultPeriod, []]) + initPeriodGroups() } function back() {