From eb38ec3f771c6127f06fa1370922202e7d20607d Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sat, 6 Dec 2014 08:58:37 +0200 Subject: debug off by default, set a fakeuser and enable history in debug mode --- index.html | 2 +- src/main.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index ee8b1391..efb3e556 100644 --- a/index.html +++ b/index.html @@ -76,7 +76,7 @@
diff --git a/src/main.js b/src/main.js index 4234beaf..070f3cb5 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,7 @@ function(textanalysis_ui, textanalysis, buttons, history, drag_n_drop, } if (util.getParameterByName('debug')) { $(document.body).addClass('debug'); + rz_core.graph.set_user('fakeuser'); } document.body.onkeyup = function(e) { -- cgit v1.3.1