fix note restore
This commit is contained in:
parent
de6268d86f
commit
0d436b0516
5
main.js
5
main.js
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue