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();