From 5be6d365833e4152714e4ca4d8d586e36b4c0dde Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Thu, 21 Jan 2016 13:49:16 +0900 Subject: [PATCH] Make compatible with Open Bookmark in New Tab 2.x --- content/treestyletab/bookmarksOverlay.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/treestyletab/bookmarksOverlay.js b/content/treestyletab/bookmarksOverlay.js index 91e51d02..bf9cc34c 100644 --- a/content/treestyletab/bookmarksOverlay.js +++ b/content/treestyletab/bookmarksOverlay.js @@ -242,6 +242,8 @@ var TreeStyleTabBookmarksService = inherit(TreeStyleTabService, { let method = (TreeStyleTabUtils.getTreePref('compatibility.TabUtilities') && PlacesUIUtils.TU__openTabset) ? 'TU__openTabset' : '_openTabset'; + if (PlacesUIUtils.__openbookmarkintab__openTabset) + method = '__openbookmarkintab__openTabset'; TreeStyleTabUtils.doPatching(PlacesUIUtils[method], 'PlacesUIUtils.'+method, function(aName, aSource) { var patched = eval(aName+' = '+aSource.replace( /(function[^\(]*\([^\)]+)(\))/,