Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
live view: remove disabled -OnBattery-specifc views from DOM (#372)
instead of hiding views, we can also avoid adding them to the DOM. this has a couple of advantages: * no HTTP request for data is sent and no websocket connection is established for disabled features. * JavaScript that causes errors due to incomplete or incompatible data of features that are disabled anyways do not trigger the browser debugger.
- Loading branch information