Move start page URL to config
This commit is contained in:
parent
d9eb8ff3c3
commit
97bac9fadc
2 changed files with 2 additions and 5 deletions
|
@ -240,11 +240,7 @@ var ZoteroPane = new function()
|
|||
else if (Zotero.Prefs.get('firstRun2')) {
|
||||
if (Zotero.Schema.dbInitialized || !Zotero.Sync.Server.enabled) {
|
||||
setTimeout(function () {
|
||||
if(Zotero.isStandalone) {
|
||||
ZoteroPane_Local.loadURI("https://www.zotero.org/start_standalone");
|
||||
} else {
|
||||
gBrowser.selectedTab = gBrowser.addTab("https://www.zotero.org/start");
|
||||
}
|
||||
ZoteroPane_Local.loadURI(ZOTERO_CONFIG.START_URL);
|
||||
}, 400);
|
||||
}
|
||||
Zotero.Prefs.set('firstRun2', false);
|
||||
|
|
|
@ -16,6 +16,7 @@ var ZOTERO_CONFIG = {
|
|||
BOOKMARKLET_ORIGIN: 'https://www.zotero.org',
|
||||
HTTP_BOOKMARKLET_ORIGIN: 'http://www.zotero.org',
|
||||
BOOKMARKLET_URL: 'https://www.zotero.org/bookmarklet/',
|
||||
START_URL: "https://www.zotero.org/start_standalone",
|
||||
PDF_TOOLS_URL: "https://www.zotero.org/download/xpdf/",
|
||||
SUPPORT_URL: "https://www.zotero.org/support/",
|
||||
TROUBLESHOOTING_URL: "https://www.zotero.org/support/getting_help",
|
||||
|
|
Loading…
Reference in a new issue