mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 423770 - "sometimes need to click "Restore default set" twice to actually have the default set restored" [p=dao@mozilla.com (Dão Gottwald) r=gavin a1.9b5=beltzner]
This commit is contained in:
parent
fc03af34f4
commit
ee0a4f8a90
@ -223,8 +223,6 @@
|
|||||||
newItem.id = "spacer" + uniqueId;
|
newItem.id = "spacer" + uniqueId;
|
||||||
newItem.className = "chromeclass-toolbar-additional";
|
newItem.className = "chromeclass-toolbar-additional";
|
||||||
} else if (this.parentNode.localName == "toolbox") {
|
} else if (this.parentNode.localName == "toolbox") {
|
||||||
if (document.getElementById(aId))
|
|
||||||
return false;
|
|
||||||
// Attempt to locate an item with a matching id within palette.
|
// Attempt to locate an item with a matching id within palette.
|
||||||
var paletteItem = this.parentNode.palette.firstChild;
|
var paletteItem = this.parentNode.palette.firstChild;
|
||||||
while (paletteItem) {
|
while (paletteItem) {
|
||||||
|
Loading…
Reference in New Issue
Block a user