2
0
mirror of https://github.com/codl/forget synced 2025-01-20 19:11:15 +01:00

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

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();