fix: add quicknewnote function
This commit is contained in:
parent
2567a59991
commit
241502a293
6
main.js
6
main.js
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue