mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-11-20 15:22:38 +09:00
turn off livestats update when the tab isn't active
Fixes #330: Turning off the updating when the tab isn't active When the tab is not visible from the user, the livestats refresh are stopped. As soon as its visibility changes (from visibilitychange API), the livestats are refreshed as usual. This will prevent unnecessary calls to the different services when the tab is hidden from the user.
This commit is contained in:
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user