commit d43dbefc4e6ec033504273998855028b4d32ad88 parent f1909346d9b916f9a12d8de521ce1b652b37caae Author: Simon Kornblith <simon@simonster.com> Date: Fri, 4 Feb 2011 03:52:53 +0000 fix Fx 3.6 compatibility, accidentally broken by last commit Diffstat:
| M | 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 @@ -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();