summaryrefslogtreecommitdiffstats
path: root/root/static/github_activity.js
diff options
context:
space:
mode:
Diffstat (limited to 'root/static/github_activity.js')
-rw-r--r--root/static/github_activity.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/root/static/github_activity.js b/root/static/github_activity.js
index 32c3e4a..efcb278 100644
--- a/root/static/github_activity.js
+++ b/root/static/github_activity.js
@@ -63,6 +63,9 @@ var GithubActivity = (function($, _) {
<% } else if (type == "FollowEvent") { %> \
<b>started following</b> \
<a href="<%= url %>"><%= payload.target.login %></a> \
+ <% } else if (type == "WatchEvent") { %> \
+ <b><%= payload.action %> watching</b> \
+ <a href="<%= url %>"><%= repository.name %></a> \
<% } else { %> \
Unknown event type <% type %> \
<% } %>\