From 0da00302e011d730a5d24b77a73da9ffc03c0077 Mon Sep 17 00:00:00 2001 From: quenousimporte Date: Tue, 17 Oct 2023 14:08:30 +0200 Subject: [PATCH] added: timestamp and vault in zip name added: current tag in window title --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 4be72db..fbccd37 100644 --- a/main.js +++ b/main.js @@ -1102,7 +1102,7 @@ function downloadnotes() zip.generateAsync({type:"blob"}) .then(function(content) { - saveAs(content, "notes.zip"); + saveAs(content, "notes " + timestamp() + " " + currentvault + ".zip"); }); } @@ -2555,7 +2555,7 @@ function mainkeydownhandler() function setwindowtitle() { - document.title = currentnote.title; + document.title = (currenttag ? currenttag + "\\": "") + currentnote.title; } function ontitlechange()