added: timestamp and vault in zip name

added: current tag in window title
This commit is contained in:
quenousimporte 2023-10-17 14:08:30 +02:00
parent 37de87fd3a
commit 89cb2f5482
1 changed files with 2 additions and 2 deletions

View File

@ -1101,7 +1101,7 @@ function downloadnotes()
zip.generateAsync({type:"blob"}) zip.generateAsync({type:"blob"})
.then(function(content) .then(function(content)
{ {
saveAs(content, "notes.zip"); saveAs(content, "notes " + timestamp() + " " + currentvault + ".zip");
}); });
} }
@ -2516,7 +2516,7 @@ function mainkeydownhandler()
function setwindowtitle() function setwindowtitle()
{ {
document.title = currentnote.title; document.title = (currenttag ? currenttag + "\\": "") + currentnote.title;
} }
function ontitlechange() function ontitlechange()