From d43dbefc4e6ec033504273998855028b4d32ad88 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Fri, 4 Feb 2011 03:52:53 +0000 Subject: [PATCH] fix Fx 3.6 compatibility, accidentally broken by last commit --- chrome/content/zotero/tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tab.js b/chrome/content/zotero/tab.js index 7e805295c6..be8b493b75 100644 --- a/chrome/content/zotero/tab.js +++ b/chrome/content/zotero/tab.js @@ -68,7 +68,7 @@ var ZoteroTab = new function() } // get tab for browser - var tab = window.gBrowser.tabs[browserIndex]; + var tab = (window.gBrowser.tabs ? window.gBrowser.tabs : window.gBrowser.mTabs)[browserIndex]; if(window.gBrowser.selectedTab === tab) { // if tab is already selected, init now ZoteroPane.init();