diff --git a/toolkit/content/widgets/preferences.xml b/toolkit/content/widgets/preferences.xml
index 72ea5ff62131..2c9a8952fc91 100644
--- a/toolkit/content/widgets/preferences.xml
+++ b/toolkit/content/widgets/preferences.xml
@@ -572,9 +572,8 @@
-
#ifdef XP_UNIX
- >
@@ -583,7 +582,6 @@
#else
- pack="end">
@@ -612,6 +610,8 @@
#ifdef XP_MACOSX
// no buttons on Mac except Help
cancelButton.hidden = true;
+ // Move Help button to the end
+ document.getAnonymousElementByAttribute(this, "anonid", "spacer").hidden = true;
// Also, don't fire onDialogAccept on enter
acceptButton.disabled = true;
#else