settings.js fix: keep polling viewer even if last request failed

This commit is contained in:
codl 2017-08-29 01:17:47 +02:00
parent d2c3f7025c
commit c328332ff9
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@
}
function set_viewer_timeout(){
setTimeout(() => fetch_viewer().then(update_viewer).then(set_viewer_timeout),
setTimeout(() => fetch_viewer().then(update_viewer).then(set_viewer_timeout, set_viewer_timeout),
viewer_update_interval);
}
set_viewer_timeout();