added: timestamp and vault in zip name
added: current tag in window title
This commit is contained in:
parent
37de87fd3a
commit
89cb2f5482
4
main.js
4
main.js
|
@ -1101,7 +1101,7 @@ function downloadnotes()
|
|||
zip.generateAsync({type:"blob"})
|
||||
.then(function(content)
|
||||
{
|
||||
saveAs(content, "notes.zip");
|
||||
saveAs(content, "notes " + timestamp() + " " + currentvault + ".zip");
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2516,7 +2516,7 @@ function mainkeydownhandler()
|
|||
|
||||
function setwindowtitle()
|
||||
{
|
||||
document.title = currentnote.title;
|
||||
document.title = (currenttag ? currenttag + "\\": "") + currentnote.title;
|
||||
}
|
||||
|
||||
function ontitlechange()
|
||||
|
|
Loading…
Reference in New Issue