summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-28 19:57:54 +0200
committerAlon Levy <alon@pobox.com>2014-10-28 19:57:54 +0200
commit1169d0fff03ee7642a8b5e06462781f8996bb6e5 (patch)
tree06dc37baad3d7677a22058a311da0d1f5d29dfdc /scripts
parentc559161ed81a1eac2d2e13d9e734ed97b3174e71 (diff)
history: show last logged action (ui has negative z-index)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/history.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/history.js b/scripts/history.js
index d4a8d4a3..72f9e846 100644
--- a/scripts/history.js
+++ b/scripts/history.js
@@ -56,6 +56,7 @@ History.prototype.record = function(action, d)
d['user'] = this.user;
d['timestamp'] = new Date();
this.records.push(d);
+ $('.history-timeline').html('<pre>' + JSON.stringify(d) + '</pre>');
};
function svg_extract_translate_and_scale(e)