From 85432c2bf295fefb8dc7719c08b28b9668ea4225 Mon Sep 17 00:00:00 2001 From: oonuma ryouyu Date: Tue, 3 May 2016 12:06:20 +0900 Subject: [PATCH] fix#1098, fix typo on bookmarks.js --- modules/bookmark.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bookmark.js b/modules/bookmark.js index 943d25cb..9861c62e 100644 --- a/modules/bookmark.js +++ b/modules/bookmark.js @@ -476,7 +476,7 @@ PlacesUIUtils.openContainerNodeInTabs = function(aNode, ...aArgs) { }; PlacesUIUtils.__treestyletab__openURINodesInTabs = PlacesUIUtils.openURINodesInTabs; -PlacesUIUtils.openURINodesInTabs = function(aNode, ...aArgs) { +PlacesUIUtils.openURINodesInTabs = function(aNodes, ...aArgs) { try { this.__treestyletab__openTabset_rawNodes = aNodes; this.__treestyletab__folderName = utils.treeBundle.getFormattedString( @@ -485,7 +485,7 @@ PlacesUIUtils.openURINodesInTabs = function(aNode, ...aArgs) { 'openSelectedPlaces.history', [aNodes[0].title, aNodes.length] ); - return this.__treestyletab__openURINodesInTabs.apply(this, [aNode].concat(aArgs)); + return this.__treestyletab__openURINodesInTabs.apply(this, [aNodes].concat(aArgs)); } finally { delete this.__treestyletab__openTabset_rawNodes;