mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
[Pale-Moon] Don't set the drawintitlebar attr in gPrivateBrowsingUI unless we want MOZ_CAN_DRAW_IN_TITLEBAR on macintosh
This commit is contained in:
parent
4950e7ff47
commit
485fd40870
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue