--- a/browser/components/preferences/in-content/main.js
+++ b/browser/components/preferences/in-content/main.js
@@ -242,37 +242,37 @@ var gMainPane = {
*/
syncFromHomePref: function ()
{
let homePref = document.getElementById("browser.startup.homepage");
// If the pref is set to about:home, set the value to "" to show the
// placeholder text (about:home title).
- if (homePref.value.toLowerCase() == "about:home")
+ if (homePref.value.toLowerCase() == "about:newtab")
return "";
// If the pref is actually "", show about:blank. The actual home page
// loading code treats them the same, and we don't want the placeholder text
// to be shown.
if (homePref.value == "")
return "about:newtab";
// Otherwise, show the actual pref value.
- return undefined;
+ return "about:newtab";
},
syncToHomePref: function (value)
{
// If the value is "", use about:home.
if (value == "")
- return "about:home";
+ return "about:newtab";
// Otherwise, use the actual textbox value.
- return undefined;
+ return "about:newtab";
},
/**
* Sets the home page to the current displayed page (or frontmost tab, if the
* most recent browser window contains multiple tabs), updating preference
* window UI to reflect this.
*/
setHomePageToCurrent: function ()