Only set browser.dom.window.dump.enabled in client

This commit is contained in:
Dan Stillman 2017-01-07 17:41:29 -05:00
parent abd3054308
commit 43dad62150

View file

@ -50,7 +50,9 @@ Zotero.Debug = new function () {
this.storing = _store;
this.enabled = _console || _store;
Zotero.Prefs.set('browser.dom.window.dump.enabled', _console, true);
if (Zotero.isStandalone) {
Zotero.Prefs.set('browser.dom.window.dump.enabled', _console, true);
}
}
this.log = function (message, level, stack) {