diff --git a/mozilla/suite/common/history/history.js b/mozilla/suite/common/history/history.js index c5f73904845..9e45db9ebd1 100644 --- a/mozilla/suite/common/history/history.js +++ b/mozilla/suite/common/history/history.js @@ -254,13 +254,8 @@ function collapseExpand() function OpenURL(aInNewWindow) { - var currentIndex = gHistoryOutliner.currentIndex; - if (isContainer(gHistoryOutliner, currentIndex)) { - if (gHistoryOutliner.getAttribute("clickcount") == "1") - gHistoryOutliner.outlinerBoxObject.view.toggleOpenState(currentIndex); - return false; - } - + var currentIndex = gHistoryOutliner.currentIndex; + var builder = gHistoryOutliner.builder.QueryInterface(Components.interfaces.nsIXULOutlinerBuilder); var url = builder.getResourceAtIndex(currentIndex).Value; if (aInNewWindow) {