diff --git a/browser/components/places/content/toolbar.xml b/browser/components/places/content/toolbar.xml index fe37595b391..f26f59e27d8 100755 --- a/browser/components/places/content/toolbar.xml +++ b/browser/components/places/content/toolbar.xml @@ -1029,12 +1029,14 @@ nsDragAndDrop.dragExit(event, this._DNDObserver); ]]> @@ -1042,9 +1044,9 @@ if (this._openedMenuButton == null || PlacesControllerDragHelper.getSession()) return; - var target = event.target; + var target = event.originalTarget; if (this._openedMenuButton != target && - target.nodeName == "toolbarbutton" && + target.localName == "toolbarbutton" && target.type == "menu") { this._openedMenuButton.open = false; target.open = true;