summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/newtaburl.js
diff options
context:
space:
mode:
Diffstat (limited to 'application/palemoon/components/preferences/newtaburl.js')
-rw-r--r--application/palemoon/components/preferences/newtaburl.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/application/palemoon/components/preferences/newtaburl.js b/application/palemoon/components/preferences/newtaburl.js
index afe0b43fb..ac0eec1c5 100644
--- a/application/palemoon/components/preferences/newtaburl.js
+++ b/application/palemoon/components/preferences/newtaburl.js
@@ -42,7 +42,9 @@ var gNewtabUrl = {
newtabUrlPref = "about:logopage";
break;
case 2:
- newtabUrlPref = "http://start.palemoon.org/";
+ newtabUrlPref = Services.prefs.getDefaultBranch("browser.")
+ .getComplexValue("startup.homepage",
+ Components.interfaces.nsIPrefLocalizedString).data;
break;
case 3:
// If url is a pipe-delimited set of pages, just take the first one.