Merge "Use visibilityState instead of legacy document.hidden"
This commit is contained in:
commit
be341b5c42
@ -131,7 +131,7 @@
|
||||
// router has been initialized. @see Issue 7837
|
||||
this._settingsUrl = Gerrit.Nav.getUrlForSettings();
|
||||
|
||||
this.$.reporting.appStarted(document.hidden);
|
||||
this.$.reporting.appStarted(document.visibilityState === 'hidden');
|
||||
|
||||
this._viewState = {
|
||||
changeView: {
|
||||
|
Loading…
Reference in New Issue
Block a user