Bug 1695698: update hamburger menu tooltip text r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D106808
This commit is contained in:
@@ -213,8 +213,16 @@ const PanelUI = {
|
||||
}
|
||||
this._ensureEventListenersAdded();
|
||||
if (this.panel.state == "open") {
|
||||
document.l10n.setAttributes(
|
||||
this.menuButton,
|
||||
"appmenu-menu-button-closed"
|
||||
);
|
||||
this.hide();
|
||||
} else if (this.panel.state == "closed") {
|
||||
document.l10n.setAttributes(
|
||||
this.menuButton,
|
||||
"appmenu-menu-button-opened"
|
||||
);
|
||||
this.show(aEvent);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user