From 62d255bc05234d90f1b2ce34c43573f0bb3248ab Mon Sep 17 00:00:00 2001 From: Quicksaver Date: Sun, 15 Dec 2013 12:17:52 +0000 Subject: [PATCH] fix for FF26 --- chrome/content/splitbrowse.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chrome/content/splitbrowse.js b/chrome/content/splitbrowse.js index 4497955..724a757 100644 --- a/chrome/content/splitbrowse.js +++ b/chrome/content/splitbrowse.js @@ -1,8 +1,10 @@ AutoPagerNS.apSplitbrowse = { //this is come from noscript DOMUtils domUtils: { - lookupMethod: Components.utils ? Components.utils.lookupMethod : Components.lookupMethod, - + lookupMethod: function(node, method) { + return function() { return node[method]; }; + }, + findBrowser: function(chrome, win) { var gb = chrome.getBrowser(); var browsers;