diff --git a/src/App.vue b/src/App.vue index 292b145..32f999c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -89,7 +89,7 @@ const restartUpdates = () => { }, interval * 1000) // Trigger update immediately if new interval allows it - if (lastUpdate + interval < new Date().getTime()) + if (lastUpdate + (interval * 1000) < Date.now()) updateWall() }