Cybrkyd's Git Repositories

jottings - commit: cda6bab

commit cda6babde615a60f6f40995fa62b061665f4fce6a2db73ed901d8d7490c9ef2a
author Cybrkyd <git@cybrkyd.com> 2026-06-22 12:37:48 +0100
committer Cybrkyd <git@cybrkyd.com> 2026-06-22 12:37:48 +0100

Commit Message

Refresh Saved Jots Updated date/time in real time

📊 Diffstat

resources/js/app.js 1
1 files changed, 1 insertions(+), 0 deletions(-)

Diff

diff --git a/resources/js/app.js b/resources/js/app.js
index 6e26332..004cc74 100644
--- a/resources/js/app.js
+++ b/resources/js/app.js
@@ -881,6 +881,7 @@ editor.addEventListener("input", function() {
notes[index].content = t;
notes[index].updated = new Date().toISOString();
await writeNotes(notes);
+ await loadDocuments();
document.getElementById("docStatus").textContent =
`${currentDocName} auto-saved at ${new Date().toLocaleTimeString()}`;
}