diff options
| author | Alon Levy <alon@pobox.com> | 2015-05-18 19:49:07 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-05-18 19:49:19 +0300 |
| commit | 2bf15a54a5404ad2c748d3d27a76dd3a38f670ab (patch) | |
| tree | eeab83ca78731228fbb084a4bcd52e09caa192c9 /src/client/view | |
| parent | fc05261b988b30ba1cbe1747fd2bcc736abcbc23 (diff) | |
client/view/activity: add toggle button
Diffstat (limited to 'src/client/view')
| -rw-r--r-- | src/client/view/activity.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/view/activity.js b/src/client/view/activity.js index e0c61952..d5744f24 100644 --- a/src/client/view/activity.js +++ b/src/client/view/activity.js @@ -199,6 +199,9 @@ function init(_graph, _graph_view, _graph_view_element) graph_view = _graph_view; graph = _graph; setInterval(update_ago, MINUTE_IN_MSEC); + $('.activity-fold-button').on('click', function() { + activity_element.toggle(); + }); } return { |
