# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. document.getAnonymousElementByAttribute(this, "class", "menupopup-drop-indicator-bar"); document.getAnonymousElementByAttribute(this, "class", "popup-internal-box"); PlacesUIUtils.getViewForNode(this); = firstChildTop || target.boxObject.y <= lastChildBottom; // Hide the dropmarker if current node is not a Places node. return !(target && target._placesNode && betweenMarkers); ]]> elt.boxObject.screenY + elt.boxObject.height / 2) elt = elt.nextSibling; newMarginTop = elt ? elt.boxObject.screenY - sbo.screenY : sbo.height; } else if (scrollDir == 1) newMarginTop = sbo.height; // Set the new marginTop based on arrowscrollbox. newMarginTop += sbo.y - this._scrollBox.boxObject.y; this._indicatorBar.firstChild.style.marginTop = newMarginTop + "px"; this._indicatorBar.hidden = false; event.preventDefault(); event.stopPropagation(); ]]>