fix Fx 3.6 compatibility, accidentally broken by last commit

This commit is contained in:
Simon Kornblith 2011-02-04 03:52:53 +00:00
parent f1909346d9
commit d43dbefc4e

View file

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