зеркало из https://github.com/mozilla/pjs.git
Small perf tweak.
This commit is contained in:
Родитель
d5ba374d29
Коммит
6ba58a0f1f
|
@ -51,8 +51,9 @@ pref("general.useragent.misc", "rv:0.1");
|
||||||
pref("backups.number_of_prefs_copies", 1);
|
pref("backups.number_of_prefs_copies", 1);
|
||||||
|
|
||||||
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
// 0 = blank, 1 = home (browser.startup.homepage), 2 = last
|
||||||
|
// XXXBlake Remove this stupid pref
|
||||||
pref("browser.startup.page", 1);
|
pref("browser.startup.page", 1);
|
||||||
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
pref("browser.startup.homepage", "chrome://navigator-region/locale/region.properties");
|
||||||
// "browser.startup.homepage_override" was for 4.x
|
// "browser.startup.homepage_override" was for 4.x
|
||||||
pref("browser.startup.homepage_override.1", true);
|
pref("browser.startup.homepage_override.1", true);
|
||||||
|
|
||||||
|
|
|
@ -360,10 +360,10 @@ function Startup()
|
||||||
gClickSelectsAll = pref.getBoolPref("browser.urlbar.clickSelectsAll");
|
gClickSelectsAll = pref.getBoolPref("browser.urlbar.clickSelectsAll");
|
||||||
|
|
||||||
// set home button tooltip text
|
// set home button tooltip text
|
||||||
var homePage = getHomePage();
|
var homeButton = document.getElementById("home-button");
|
||||||
if (homePage) {
|
if (homeButton) {
|
||||||
var homeButton = document.getElementById("home-button");
|
var homePage = getHomePage();
|
||||||
if (homeButton)
|
if (homePage)
|
||||||
homeButton.setAttribute("tooltiptext", homePage);
|
homeButton.setAttribute("tooltiptext", homePage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче