fix Fx 3.6 compatibility, accidentally broken by last commit
This commit is contained in:
parent
f1909346d9
commit
d43dbefc4e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue