From a635f18b6b90e24c770d5f3acdd23842f979d84d Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 24 Sep 2022 01:03:53 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- pwiki/page.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pwiki/page.js b/pwiki/page.js index 4607fdf..465134e 100755 --- a/pwiki/page.js +++ b/pwiki/page.js @@ -390,6 +390,9 @@ object.Constructor('BasePage', { delete: async function(path='.', base=true){ + if(path === true || path === false){ + base = path + path = '.' } var page = this.get(path) if(page.isPattern){ base