diff --git a/qml/js/debug.js b/qml/js/debug.js index bcdd374..011ccff 100644 --- a/qml/js/debug.js +++ b/qml/js/debug.js @@ -31,7 +31,7 @@ var exception = enabled ? console.exception : function(){}; Fernschreiber.DebugLog.enabledChanged.connect(function() { enabled = Fernschreiber.DebugLog.enabled; - if(isEnabled) { + if(enabled) { log = console.log; assert = console.assert; time = console.time;