diff --git a/browser/components/places/content/menu.xml b/browser/components/places/content/menu.xml index 0aaa58bf7465..4e70fc041297 100755 --- a/browser/components/places/content/menu.xml +++ b/browser/components/places/content/menu.xml @@ -154,7 +154,7 @@ var needsBindingAttachment = false; var currentNode = this.parentNode; while (currentNode && !needsBindingAttachment) { - if (currentNode.id == "bookmarksMenu") + if (currentNode.id && currentNode.id == "bookmarksMenu") needsBindingAttachment = true; currentNode = currentNode.parentNode; }