avoid periodic polls when document doesn't have focus #3931
Hm. Actually I think what we want is to check
Because if the window doesn't have focus but the user is still looking at it (say it's on another screen and you've switched to some other app) it should still make those requests, but if it is in a background tab, it shouldn't.
@minrk If you disagree with the change I pushed to this branch, feel free to hard reset to your commit!
Thanks @minrk !!! - I guess JupyterLab was like an excited puppy that just wanted to play ... even if no one was home ... and ended up chewing the furniture ...…
On Fri, Feb 23, 2018 at 1:34 AM, Afshin Darian ***@***.***> wrote: Merged #3931 <#3931>. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#3931 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AABr0DdGz06tChIKJXxO0AzDn817l_-Hks5tXoYSgaJpZM4SNpPk> .
-- Brian E. Granger Associate Professor of Physics and Data Science Cal Poly State University, San Luis Obispo @ellisonbg on Twitter and GitHub email@example.com and firstname.lastname@example.org