Browse Source

[Pale-Moon] Don't set the drawintitlebar attr in gPrivateBrowsingUI unless we want MOZ_CAN_DRAW_IN_TITLEBAR on macintosh

pull/24/head
Matt A. Tobin 2 years ago committed by Roy Tam
parent
commit
485fd40870
  1. 2
      application/palemoon/base/content/browser.js

2
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);
}

Loading…
Cancel
Save