commit 1cf2585b41cf3550609bf977efd3aa2b5c98418d
parent 786f5efa3069c5274caf598eb3972a69c27ca79c
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 17 Jan 2017 02:58:22 -0500
Add Zotero.isClient
To replace Zotero.isStandalone
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js
@@ -195,6 +195,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
this.platformVersion = appInfo.platformVersion;
this.platformMajorVersion = parseInt(appInfo.platformVersion.match(/^[0-9]+/)[0]);
this.isFx = true;
+ this.isClient = true;
this.isStandalone = Services.appinfo.ID == ZOTERO_CONFIG['GUID'];
if (Zotero.isStandalone) {