diff --git a/src/notes_api.py b/src/notes_api.py index 8cec03f13..1e80eef58 100644 --- a/src/notes_api.py +++ b/src/notes_api.py @@ -44,7 +44,7 @@ def updateNote(note_id): now = math.floor(time.time()) - history_cutoff = now - 3600 + history_cutoff = now - 600 history = getSingleResult("select id from notes_history where note_id = ? and date_modified >= ?", [note_id, history_cutoff]) diff --git a/src/templates/app.html b/src/templates/app.html index d5d5100af..83aa89f31 100644 --- a/src/templates/app.html +++ b/src/templates/app.html @@ -173,10 +173,13 @@