Only set browser.dom.window.dump.enabled in client
This commit is contained in:
parent
abd3054308
commit
43dad62150
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue