Skip to content

Commit d118efa

Browse files
committed
switch to 5s refresh for single
1 parent dc33015 commit d118efa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

js/tracker.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ function refreshSingle(serial, first) {
27532753
},
27542754
complete: function(request, textStatus) {
27552755
clearTimeout(periodical_focus);
2756-
periodical_focus = setTimeout(refreshSingle, timer_seconds_focus * 1000, serial);
2756+
periodical_focus = setTimeout(refreshSingle, timer_seconds * 1000, serial);
27572757
}
27582758
});
27592759
}
@@ -3125,7 +3125,6 @@ function habitat_doc_step(hab_docs) {
31253125
var periodical, periodical_focus, periodical_receivers, periodical_recoveries;
31263126
var periodical_predictions = null;
31273127
var timer_seconds = 5;
3128-
var timer_seconds_focus = 1;
31293128

31303129
function startAjax() {
31313130
// prevent insane clicks to start numerous requests

0 commit comments

Comments
 (0)