fa draft
authorjordan9769 <souravgarg833@gmail.com>
Thu, 13 Oct 2016 07:09:59 +0530
changeset 425603 27063ec10ff7b7e6c7bacf94777b66a751820177
parent 425602 cc7f93bf1a252059ac21883e691c74d1b25ce9cc
child 425604 4583651a3f004e0cff89ac0c2c54a706d64ceda1
push id32461
push userbmo:souravgarg833@gmail.com
push dateSat, 15 Oct 2016 01:55:59 +0000
milestone52.0a1
fa MozReview-Commit-ID: FfOsXmotP8c
browser/components/preferences/in-content/main.js
--- a/browser/components/preferences/in-content/main.js
+++ b/browser/components/preferences/in-content/main.js
@@ -252,27 +252,27 @@ var gMainPane = {
 
     // 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 "about:newtab";
+    return undefined;
   },
 
   syncToHomePref: function (value)
   {
     // If the value is "", use about:home.
     if (value == "")
       return "about:newtab";
 
     // Otherwise, use the actual textbox value.
-    return "about:newtab";
+    return undefined;
   },
 
   /**
    * 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 ()