From 485fd408703fa4cef8ec41cefaaaffeda4699a85 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Tue, 14 Apr 2020 23:55:18 -0400 Subject: [PATCH] [Pale-Moon] Don't set the drawintitlebar attr in gPrivateBrowsingUI unless we want MOZ_CAN_DRAW_IN_TITLEBAR on macintosh --- application/palemoon/base/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/palemoon/base/content/browser.js b/application/palemoon/base/content/browser.js index 10e17ab938..0058527ea4 100644 --- a/application/palemoon/base/content/browser.js +++ b/application/palemoon/base/content/browser.js @@ -6951,7 +6951,7 @@ var gPrivateBrowsingUI = { document.getElementById("Tools:Sanitize").setAttribute("disabled", "true"); if (window.location.href == getBrowserURL()) { -#ifdef XP_MACOSX +#if defined(XP_MACOSX) && defined(MOZ_CAN_DRAW_IN_TITLEBAR) if (!PrivateBrowsingUtils.permanentPrivateBrowsing) { document.documentElement.setAttribute("drawintitlebar", true); }