зеркало из https://github.com/mozilla/gecko-dev.git
Bug 223287 - Cannot manually edit home page in Preferences if toolbar icon is removed, patch by pike@pikey.me.uk, r=pch
This commit is contained in:
Родитель
0cfc146595
Коммит
69cef8f316
|
@ -95,7 +95,9 @@ function onOK() {
|
|||
while (eb.hasMoreElements()) {
|
||||
// Update the home button tooltip.
|
||||
var domWin = eb.getNext().QueryInterface(Components.interfaces.nsIDOMWindow);
|
||||
domWin.document.getElementById("home-button").setAttribute("tooltiptext", parent.homepage);
|
||||
var homeButton = domWin.document.getElementById("home-button");
|
||||
if (homeButton)
|
||||
homeButton.setAttribute("tooltiptext", parent.homepage);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче