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:
reed@reedloden.com 2008-03-21 21:26:35 -07:00
parent fc03af34f4
commit ee0a4f8a90

View File

@ -223,8 +223,6 @@
newItem.id = "spacer" + uniqueId;
newItem.className = "chromeclass-toolbar-additional";
} else if (this.parentNode.localName == "toolbox") {
if (document.getElementById(aId))
return false;
// Attempt to locate an item with a matching id within palette.
var paletteItem = this.parentNode.palette.firstChild;
while (paletteItem) {