mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 401601 - applications preference tab jumps the first time I select it. r=sspitzer, blocking-firefox3=mconnor
This commit is contained in:
parent
0802e1a12b
commit
70255a5a40
@ -729,6 +729,11 @@
|
||||
if (paneTitle != "")
|
||||
document.title = paneTitle;
|
||||
#endif
|
||||
var helpButton = document.documentElement.getButton("help");
|
||||
if (aPaneElement.hasAttribute("helpURI"))
|
||||
helpButton.hidden = false;
|
||||
else
|
||||
helpButton.hidden = true;
|
||||
|
||||
// Find this pane's index in the deck and set the deck's
|
||||
// selectedIndex to that value to switch to it.
|
||||
@ -786,12 +791,6 @@
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var helpButton = document.documentElement.getButton("help");
|
||||
if (aPaneElement.hasAttribute("helpURI"))
|
||||
helpButton.hidden = false;
|
||||
else
|
||||
helpButton.hidden = true;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
Loading…
Reference in New Issue
Block a user