added: timestamp and vault in zip name
added: current tag in window title
This commit is contained in:
parent
bbb27ee274
commit
0da00302e0
4
main.js
4
main.js
|
@ -1102,7 +1102,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");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2555,7 +2555,7 @@ function mainkeydownhandler()
|
||||||
|
|
||||||
function setwindowtitle()
|
function setwindowtitle()
|
||||||
{
|
{
|
||||||
document.title = currentnote.title;
|
document.title = (currenttag ? currenttag + "\\": "") + currentnote.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
function ontitlechange()
|
function ontitlechange()
|
||||||
|
|
Loading…
Reference in New Issue