Skip to content

Commit

Permalink
Add Zotero.isClient
Browse files Browse the repository at this point in the history
To replace Zotero.isStandalone
  • Loading branch information
dstillman committed Jan 17, 2017
1 parent 786f5ef commit 1cf2585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chrome/content/zotero/xpcom/zotero.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 1cf2585

Please sign in to comment.