mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 838855 - Fix "ele is null" exception being thrown on OSX on titlebar update. r=dao.
This commit is contained in:
parent
1000e88b66
commit
48b835bf8a
@ -405,7 +405,11 @@ pref("browser.tabs.loadBookmarksInBackground", false);
|
||||
pref("browser.tabs.tabClipWidth", 140);
|
||||
pref("browser.tabs.animate", true);
|
||||
pref("browser.tabs.onTop", true);
|
||||
#ifdef XP_WIN
|
||||
pref("browser.tabs.drawInTitlebar", true);
|
||||
#else
|
||||
pref("browser.tabs.drawInTitlebar", false);
|
||||
#endif
|
||||
|
||||
// Where to show tab close buttons:
|
||||
// 0 on active tab only
|
||||
|
@ -5039,9 +5039,11 @@ var TabsInTitlebar = {
|
||||
|
||||
let tabsToolbar = $("TabsToolbar");
|
||||
|
||||
#ifdef MENUBAR_CAN_AUTOHIDE
|
||||
let appmenuButtonBox = $("appmenu-button-container");
|
||||
let captionButtonsBox = $("titlebar-buttonbox");
|
||||
this._sizePlaceholder("appmenu-button", rect(appmenuButtonBox).width);
|
||||
#endif
|
||||
let captionButtonsBox = $("titlebar-buttonbox");
|
||||
this._sizePlaceholder("caption-buttons", rect(captionButtonsBox).width);
|
||||
|
||||
let tabsToolbarRect = rect(tabsToolbar);
|
||||
|
Loading…
Reference in New Issue
Block a user