fx-compat: Populate Window menu on macOS
This commit is contained in:
parent
ebc511f418
commit
002132bc4b
1 changed files with 5 additions and 1 deletions
|
@ -42,8 +42,12 @@ const ZoteroStandalone = new function() {
|
|||
window.document.documentElement.setAttribute('sizemode', 'normal');
|
||||
}
|
||||
|
||||
// Create tab bar by default
|
||||
if (Zotero.isMac) {
|
||||
let elem = document.createElementNS('http://www.w3.org/1999/xhtml', 'script');
|
||||
elem.src = 'chrome://global/content/macWindowMenu.js';
|
||||
document.documentElement.appendChild(elem);
|
||||
|
||||
// Create tab bar by default
|
||||
document.documentElement.setAttribute('drawintitlebar', true);
|
||||
document.documentElement.setAttribute('tabsintitlebar', true);
|
||||
document.documentElement.setAttribute('chromemargin', '0,-1,-1,-1');
|
||||
|
|
Loading…
Reference in a new issue