www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 43dad62150251d567f9876bda5382080e36a9e21
parent abd305430873a48a4526582b190b001925f8f0fe
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat,  7 Jan 2017 17:41:29 -0500

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

Diffstat:
Mchrome/content/zotero/xpcom/debug.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js @@ -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) {