Skip to content

Commit 56e9eed

Browse files
predictions are no longer stored; fix #59
1 parent 4e4eb80 commit 56e9eed

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
@@ -2135,11 +2135,10 @@ function refreshPredictions() {
21352135
data: "",
21362136
dataType: "json",
21372137
success: function(response, textStatus) {
2138-
offline.set('predictions', response);
2138+
offline.set('predictions', "");
21392139
updatePredictions(response);
21402140
},
21412141
error: function() {
2142-
if(!ls_pred && offline.get('opt_offline')) updatePredictions(offline.get('predictions'));
21432142
},
21442143
complete: function(request, textStatus) {
21452144
periodical_predictions = setTimeout(refreshPredictions, 60 * 1000);

0 commit comments

Comments
 (0)