Bug 1083376 - Fix for typeo error in browserPlacesViews.js, regression from bug 1068671. r=mak

This commit is contained in:
Jim Mathies 2014-10-16 14:28:50 -05:00
parent 9090067df3
commit 25c6db8f3d

View File

@ -1376,7 +1376,7 @@ PlacesToolbar.prototype = {
elt.localName != "menupopup") {
let eltRect = elt.getBoundingClientRect();
let eltIndex = Array.indexOf(this._rootElt.childNodes, elt);
if (PlacesUIUtils.nodeIsFolder(elt._placesNode) &&
if (PlacesUtils.nodeIsFolder(elt._placesNode) &&
!PlacesUIUtils.isContentsReadOnly(elt._placesNode)) {
// This is a folder.
// If we are in the middle of it, drop inside it.