From 241502a293b4d2ccc64d50c97dfe6de45a2a07a0 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Wed, 15 Nov 2023 08:44:01 +0100 Subject: [PATCH] fix: add quicknewnote function --- main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.js b/main.js index 2e9d6d9..9a0c107 100644 --- a/main.js +++ b/main.js @@ -2299,6 +2299,12 @@ function timestamp() return loc.toISOString().replace("T", " ").replace(/\..*/, "").replace(/:/g, "."); } +function quicknewnote() +{ + loadnote(timestamp()); + datachanged(); +} + function startnewnote() { var title = prompt("Note title: ", timestamp());