diff options
Diffstat (limited to 'templates/_footer.tmpl')
-rw-r--r-- | templates/_footer.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl index 97a5bf8..b72953b 100644 --- a/templates/_footer.tmpl +++ b/templates/_footer.tmpl @@ -1,6 +1,5 @@ {{ define "_footer" }} </main> - </section> <script> function deleteEntry(id) { fetch("/entries/"+id, { method: 'DELETE' }) @@ -20,7 +19,7 @@ }); } -setInterval(getStatus, 1000); +setInterval(getStatus, 5000); </script> </body> |