changed: prompt new note title
This commit is contained in:
parent
a759008dd9
commit
c1967c2f60
1 changed files with 5 additions and 1 deletions
6
main.js
6
main.js
|
|
@ -2237,7 +2237,11 @@ function timestamp()
|
||||||
|
|
||||||
function startnewnote()
|
function startnewnote()
|
||||||
{
|
{
|
||||||
loadnote(timestamp());
|
var title = prompt("Note title: ", timestamp());
|
||||||
|
if (title)
|
||||||
|
{
|
||||||
|
loadnote(title);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function showhelp()
|
function showhelp()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue