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