change: change lastchanged as soon as note is opened
This commit is contained in:
parent
309354c43d
commit
0f1c4407c3
2
main.js
2
main.js
|
@ -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)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue