Add Zotero.isClient
To replace Zotero.isStandalone
This commit is contained in:
parent
786f5efa30
commit
1cf2585b41
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue