fix: add quicknewnote function

This commit is contained in:
quenousimporte 2023-11-15 08:44:01 +01:00
parent 2567a59991
commit 241502a293
1 changed files with 6 additions and 0 deletions

View File

@ -2299,6 +2299,12 @@ function timestamp()
return loc.toISOString().replace("T", " ").replace(/\..*/, "").replace(/:/g, "."); return loc.toISOString().replace("T", " ").replace(/\..*/, "").replace(/:/g, ".");
} }
function quicknewnote()
{
loadnote(timestamp());
datachanged();
}
function startnewnote() function startnewnote()
{ {
var title = prompt("Note title: ", timestamp()); var title = prompt("Note title: ", timestamp());