Stop fetching when disconnected fix

This commit is contained in:
Jeremy Zhang 2017-04-09 10:55:14 -07:00
parent a767e11288
commit 8a2946aab0

View File

@ -324,7 +324,7 @@ function run_fetch_routine() {
}
});
fet.catch(function(data) {
if (data.status != 403) {
if (!(data.status != 403 || data.status != 401)) {
fetchtimeout = setTimeout(run_fetch_routine, 10000);
}
});