mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-12-02 11:54:04 +01:00
fix game entry and payout bugs
This commit is contained in:
+5
-5
@@ -983,12 +983,12 @@
|
||||
return Math.floor(seconds / 86400) + 'd ago';
|
||||
}
|
||||
|
||||
// Auto-refresh every 30 seconds
|
||||
// Auto-refresh every 15 seconds for active tabs
|
||||
setInterval(() => {
|
||||
if (apiKey && currentTab === 'overview') {
|
||||
loadDashboard();
|
||||
}
|
||||
}, 30000);
|
||||
if (!apiKey) return;
|
||||
if (currentTab === 'overview') loadDashboard();
|
||||
else if (currentTab === 'queue') loadQueue();
|
||||
}, 15000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user