From e89627572469e735c43401eff9d65820f3fec647 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Thu, 15 Feb 2024 22:39:50 +0100 Subject: [PATCH] fix reload --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index bbbf228..4bc4c98 100644 --- a/main.js +++ b/main.js @@ -1191,10 +1191,10 @@ function loadstorage() } var title = params.get("n") || params.get("name"); - if (document.title.value) + if (window.title.value) { // reload current - loadnote(document.title.value); + loadnote(window.title.value); } else if (title) {