From 9c8784e53360cf6897811fc1645c46c0b7b4c271 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Mon, 18 Nov 2019 13:24:58 +0100 Subject: [PATCH] fix: reload inbox every 15 seconds --- pwnagotchi/ui/web/templates/inbox.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pwnagotchi/ui/web/templates/inbox.html b/pwnagotchi/ui/web/templates/inbox.html index a63a7172..ca0b76ef 100644 --- a/pwnagotchi/ui/web/templates/inbox.html +++ b/pwnagotchi/ui/web/templates/inbox.html @@ -5,6 +5,14 @@ {{ name }} Inbox {% endblock %} +{% block script %} +$(function() { + setTimeout(function(){ + window.location.reload(true); + }, 15000); +}); +{% endblock %} + {% block content %}