Selaa lähdekoodia

Fixed autorefresh

deadtom 2 viikkoa sitten
vanhempi
commit
9780b315ab
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      ownchatbot/templates/queue.html

+ 6 - 0
ownchatbot/templates/queue.html

@@ -4,7 +4,13 @@
     <title>Rewards Queue Management</title>
     <link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
     <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
+    <script>
+        function refreshPage() {
+            window.location.reload();
+        }
+    </script>
 </head>
+    <script src="/static/userpanel.js"></script>
     <div class="panel">
     <div class="navbar">
         <p>Rewards Queue Management</p>