Don't try to use Zotero Standalone on the server
This commit is contained in:
parent
5ca5b06ebc
commit
c178d1ab7f
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ Zotero.Translator.prototype.init = function(info) {
|
|||
|
||||
if(this.browserSupport.indexOf(Zotero.browser) !== -1) {
|
||||
this.runMode = Zotero.Translator.RUN_MODE_IN_BROWSER;
|
||||
} else {
|
||||
} else if(!Zotero.isServer) {
|
||||
this.runMode = Zotero.Translator.RUN_MODE_ZOTERO_STANDALONE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue