Merge "Use visibilityState instead of legacy document.hidden"

This commit is contained in:
viktard 2018-05-09 22:49:27 +00:00 committed by Gerrit Code Review
commit be341b5c42

View File

@ -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: {