js: Initialize some properties

Otherwise those can result in the (harmless) "reference to undefined
property" warnings.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970
This commit is contained in:
Florian Müllner
2020-01-29 17:48:57 +01:00
parent 75905ebd3c
commit 53ac00eabb
2 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ class OverviewActor extends St.BoxLayout {
var Overview = class {
constructor() {
this._initCalled = false;
this._visible = false;
Main.sessionMode.connect('updated', this._sessionUpdated.bind(this));
this._sessionUpdated();