diff options
| author | Alon Levy <alon@pobox.com> | 2015-05-13 23:14:02 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-05-13 23:21:59 +0300 |
| commit | 774999834f73a5c8e43d7829de058d2a95351593 (patch) | |
| tree | c2b86af9ad0e4777344ee77e4a910005a309d91a /src | |
| parent | cdd7873063a14c3b991f053a2d789137c55d85fe (diff) | |
client/activity: move root element to index.html
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/view/activity.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/view/activity.js b/src/client/view/activity.js index dba272bc..f0488244 100644 --- a/src/client/view/activity.js +++ b/src/client/view/activity.js @@ -189,9 +189,7 @@ function update_ago() function init(_graph, _graph_view, _graph_view_element) { incomingActivityBus.onValue(appendActivity); - activity_element = $('<div class="activity-root-div"></div>'); - graph_view_element = _graph_view_element; - graph_view_element.append(activity_element); + activity_element = $('.activity-root-div'); graph_view = _graph_view; graph = _graph; setInterval(update_ago, MINUTE_IN_MSEC); |
