forked from mirrors/gecko-dev
Bug 1807697: Move the 'Tabs sharing devices' menu item for WebRTC from the Window menu to the Tools menu on macOS. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D165563
This commit is contained in:
parent
8fce3a5311
commit
c530c6fec3
1 changed files with 2 additions and 2 deletions
|
|
@ -1278,8 +1278,8 @@ function showOrCreateMenuForWindow(aWindow) {
|
|||
|
||||
let container, insertionPoint;
|
||||
if (AppConstants.platform == "macosx") {
|
||||
container = document.getElementById("windowPopup");
|
||||
insertionPoint = document.getElementById("sep-window-list");
|
||||
container = document.getElementById("menu_ToolsPopup");
|
||||
insertionPoint = document.getElementById("devToolsSeparator");
|
||||
let separator = document.createXULElement("menuseparator");
|
||||
separator.id = "tabSharingSeparator";
|
||||
container.insertBefore(separator, insertionPoint);
|
||||
|
|
|
|||
Loading…
Reference in a new issue