QSG tab wasn't opening after XPI install -- do it on a timer
This commit is contained in:
parent
e8dd1fc73f
commit
8e4625bc41
|
@ -182,7 +182,9 @@ var ZoteroPane = new function()
|
||||||
// they the DB is initialized erroneously (e.g. while switching data
|
// they the DB is initialized erroneously (e.g. while switching data
|
||||||
// directory locations)
|
// directory locations)
|
||||||
if (Zotero.Schema.dbInitialized && Zotero.Prefs.get('firstRun')) {
|
if (Zotero.Schema.dbInitialized && Zotero.Prefs.get('firstRun')) {
|
||||||
gBrowser.selectedTab = gBrowser.addTab('http://www.zotero.org/documentation/quick_start_guide');
|
setTimeout(function () {
|
||||||
|
gBrowser.selectedTab = gBrowser.addTab('http://www.zotero.org/documentation/quick_start_guide');
|
||||||
|
}, 400);
|
||||||
Zotero.Prefs.set('extensions.zotero.firstRun', false);
|
Zotero.Prefs.set('extensions.zotero.firstRun', false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user