Skip to content

Commit

Permalink
fix: reload inbox every 15 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 18, 2019
1 parent fd288b4 commit 9c8784e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pwnagotchi/ui/web/templates/inbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
{{ name }} Inbox
{% endblock %}

{% block script %}
$(function() {
setTimeout(function(){
window.location.reload(true);
}, 15000);
});
{% endblock %}

{% block content %}
<ul class="inbox" data-role="listview" data-filter="true" data-filter-placeholder="Search inbox..." data-inset="true">
{% for message in inbox.messages %}
Expand Down

0 comments on commit 9c8784e

Please sign in to comment.