Don't try to use Zotero Standalone on the server

This commit is contained in:
Simon Kornblith 2012-04-16 01:01:19 -04:00
parent 5ca5b06ebc
commit c178d1ab7f

View file

@ -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;
}