Notifier is how singleton is known outside of this module, use this inside
This commit is contained in:
parent
a326c83016
commit
39355c8270
1 changed files with 2 additions and 2 deletions
|
@ -226,8 +226,8 @@ const Notifier = {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const isGuest = client.isGuest();
|
const isGuest = client.isGuest();
|
||||||
return !isGuest && Notifier.supportsDesktopNotifications() &&
|
return !isGuest && this.supportsDesktopNotifications() &&
|
||||||
!Notifier.isEnabled() && !Notifier._isToolbarHidden();
|
!this.isEnabled() && !this._isToolbarHidden();
|
||||||
},
|
},
|
||||||
|
|
||||||
_isToolbarHidden: function() {
|
_isToolbarHidden: function() {
|
||||||
|
|
Loading…
Reference in a new issue