diff --git a/xpfe/components/bookmarks/resources/bookmarksTree.js b/xpfe/components/bookmarks/resources/bookmarksTree.js index 5745aa09540b..c2de3c4e5827 100644 --- a/xpfe/components/bookmarks/resources/bookmarksTree.js +++ b/xpfe/components/bookmarks/resources/bookmarksTree.js @@ -533,18 +533,11 @@ BookmarksTree.prototype = { treeOpen: function (aEvent) { - if (!this.isValidOpenEvent(aEvent)) - return; - - var rdfNode = this.findRDFNode(aEvent.target, true); - if (rdfNode.getAttribute("container") == "true") { - if (this.openClickCount == 1) - rdfNode.setAttribute("open", rdfNode.getAttribute("open") != "true"); - gSelectionTracker.clickCount = 0; - return; + if (this.isValidOpenEvent(aEvent)) { + var rdfNode = this.findRDFNode(aEvent.target, true); + if (rdfNode.getAttribute("container") != "true") + this.open(aEvent, rdfNode); } - - this.open(aEvent, rdfNode); }, /////////////////////////////////////////////////////////////////////////////