aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index f6fe475d8..98a756fff 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -304,6 +304,12 @@ function insertCommentURL(comment, id) {
return true;
}
+function doFollowAuthor(url) {
+ $.get(url, function(data) { notificationsUpdate(); });
+ return true;
+}
+
+
function viewsrc(id) {
$.colorbox({href: 'viewsrc/' + id, maxWidth: '80%', maxHeight: '80%' });
}