diff --git a/toolkit/components/help/content/help.js b/toolkit/components/help/content/help.js index 328a63cc341..50dadd5214a 100644 --- a/toolkit/components/help/content/help.js +++ b/toolkit/components/help/content/help.js @@ -884,7 +884,14 @@ function getXulWin() # appear in those builds. # # element - The DOM node that persists the checked state. + +#ifdef XP_MACOSX +#define HELP_ALWAYS_RAISED_TOGGLE +#endif #ifdef XP_WIN +#define HELP_ALWAYS_RAISED_TOGGLE +#endif +#ifdef HELP_ALWAYS_RAISED_TOGGLE function toggleZLevel(element) { var xulwin = getXulWin(); diff --git a/toolkit/components/help/content/help.xul b/toolkit/components/help/content/help.xul index 9b1a51f1882..dbbfe4b31fe 100644 --- a/toolkit/components/help/content/help.xul +++ b/toolkit/components/help/content/help.xul @@ -60,7 +60,13 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" width="700" height="550" +#ifdef XP_MACOSX +#define HELP_ALWAYS_RAISED_TOGGLE +#endif #ifdef XP_WIN +#define HELP_ALWAYS_RAISED_TOGGLE +#endif +#ifdef HELP_ALWAYS_RAISED_TOGGLE persist="width height screenX screenY zlevel" #else persist="width height screenX screenY" diff --git a/toolkit/components/help/content/helpContextOverlay.xul b/toolkit/components/help/content/helpContextOverlay.xul index 80958c52947..21ab5baf4b1 100644 --- a/toolkit/components/help/content/helpContextOverlay.xul +++ b/toolkit/components/help/content/helpContextOverlay.xul @@ -68,7 +68,13 @@ label="&textZoomReduceBtn.label;" accesskey="&textZoomReduceBtn.accesskey;" oncommand="ZoomManager.prototype.getInstance().reduce();"/> +#ifdef XP_MACOSX +#define HELP_ALWAYS_RAISED_TOGGLE +#endif #ifdef XP_WIN +#define HELP_ALWAYS_RAISED_TOGGLE +#endif +#ifdef HELP_ALWAYS_RAISED_TOGGLE