fixed: no delay in local mode

This commit is contained in:
quenousimporte 2023-01-21 21:38:36 +01:00
parent 0db712cea3
commit d03ded0762
1 changed files with 9 additions and 1 deletions

10
main.js
View File

@ -1301,7 +1301,15 @@ function notecontentchanged()
{ {
resize(); resize();
markunsaved("⇅"); markunsaved("⇅");
delay().then(save);
if (isremote())
{
delay().then(save);
}
else
{
save();
}
} }
function loadtodo() function loadtodo()