change: change lastchanged as soon as note is opened

This commit is contained in:
quenousimporte 2024-03-28 10:00:12 +01:00
parent 309354c43d
commit 0f1c4407c3
1 changed files with 2 additions and 0 deletions

View File

@ -2557,6 +2557,8 @@ function loadnote(title)
} }
bind(item.title, content, item.pos); bind(item.title, content, item.pos);
item.lastchanged = Date.now();
serializeindex();
if (!preview.hidden || (preview.hidden && (gettags(md.value).indexOf("preview") !== -1))) if (!preview.hidden || (preview.hidden && (gettags(md.value).indexOf("preview") !== -1)))
{ {