mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 734646 - Duplicate bookmark item in the toolbar chevron popup.
r=mano
This commit is contained in:
parent
1a997b3214
commit
1779626773
@ -1012,9 +1012,10 @@ PlacesToolbar.prototype = {
|
||||
|
||||
_updateChevronPopupNodesVisibility:
|
||||
function PT__updateChevronPopupNodesVisibility() {
|
||||
for (let i = 0; i < this._chevronPopup.childNodes.length; i++) {
|
||||
this._chevronPopup.childNodes[i].hidden =
|
||||
this._rootElt.childNodes[i].style.visibility != "hidden";
|
||||
for (let i = 0, node = this._chevronPopup._startMarker.nextSibling;
|
||||
node != this._chevronPopup._endMarker;
|
||||
i++, node = node.nextSibling) {
|
||||
node.hidden = this._rootElt.childNodes[i].style.visibility != "hidden";
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user