fix: add quicknewnote function
This commit is contained in:
parent
2567a59991
commit
241502a293
1 changed files with 6 additions and 0 deletions
6
main.js
6
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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue