fix note restore

This commit is contained in:
quenousimporte 2024-02-04 22:45:41 +01:00
parent de6268d86f
commit 0d436b0516
1 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,8 @@ var previoustitle = "";
var metadata = null;
var fileindex = 0;
var workerid = null;
var backup = "";var settings = null;
var backup = "";
var settings = null;
var tags = null;
var commands = [
@ -2480,7 +2481,7 @@ function deletecurrentnote()
function restore()
{
if (confirm('restore "' + currentnote.title + '"?'))
if (confirm('restore "' + title.value + '"?'))
{
seteditorcontent(backup);
}