зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1637689 - Await for enableAppmenuButton in init in ToolbarPanelHub.jsm r=emcminn
Differential Revision: https://phabricator.services.mozilla.com/D75160
This commit is contained in:
Родитель
7a14870e23
Коммит
dbf8c7dd0d
|
@ -60,7 +60,7 @@ class _ToolbarPanelHub {
|
|||
await waitForInitialized;
|
||||
// Enable the application menu button so that the user can access
|
||||
// the panel outside of the toolbar button
|
||||
this.enableAppmenuButton();
|
||||
await this.enableAppmenuButton();
|
||||
|
||||
this.state = {
|
||||
protectionPanelMessageSeen: Services.prefs.getBoolPref(
|
||||
|
|
Загрузка…
Ссылка в новой задаче