commit 517d80f4dd804ca600d6d2350d369319d5e491e4
parent f9c9816183ce16525d857faa23844cfa471ad275
Author: Simon Kornblith <simon@simonster.com>
Date: Thu, 8 Sep 2011 23:12:31 +0000
Fix broken Zotero.debug from IE changes
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/xpcom/debug.js b/chrome/content/zotero/xpcom/debug.js
@@ -28,9 +28,6 @@ Zotero.Debug = new function () {
var _console, _stackTrace, _store, _level, _time, _lastTime, _output = [];
this.init = function () {
- this.storing = _store;
- this.enabled = _console || _store;
-
_console = Zotero.Prefs.get('debug.log');
_store = Zotero.Prefs.get('debug.store');
if (_store) {
@@ -39,6 +36,9 @@ Zotero.Debug = new function () {
_level = Zotero.Prefs.get('debug.level');
_time = Zotero.Prefs.get('debug.time');
_stackTrace = Zotero.Prefs.get('debug.stackTrace');
+
+ this.storing = _store;
+ this.enabled = _console || _store;
}
this.log = function (message, level) {