commit 97bac9fadc3a0ad665492a9ba42abb8210a4633b
parent d9eb8ff3c3a0deca0817e3b2012b808880a575ee
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 15 Jun 2017 02:39:34 -0400
Move start page URL to config
Diffstat:
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -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);
diff --git a/resource/config.js b/resource/config.js
@@ -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",