Skip to content

Commit

Permalink
FIX #20; FIX : changing interval period now works
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Bresson committed Sep 27, 2022
1 parent a0bb45b commit 91d64a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/indexes.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Indexes{
}

time_until_next(){
let milliseconds_remaining = this.last()[0] + refresh_period * 1000 - Date.now()
let milliseconds_remaining = this.last()[0] + this.refresh_period * 1000 - Date.now()
return Math.ceil(milliseconds_remaining / 1000)
}

Expand Down

0 comments on commit 91d64a2

Please sign in to comment.