From 89cb2f548285dbc1c732f1dccecab07fdd95fad8 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 d0bb09d..22c728d 100644 --- a/main.js +++ b/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()