diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-28 19:57:54 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-28 19:57:54 +0200 |
| commit | 1169d0fff03ee7642a8b5e06462781f8996bb6e5 (patch) | |
| tree | 06dc37baad3d7677a22058a311da0d1f5d29dfdc /scripts | |
| parent | c559161ed81a1eac2d2e13d9e734ed97b3174e71 (diff) | |
history: show last logged action (ui has negative z-index)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/history.js | 1 |
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) |
