From df038055799d839aebab4e1a8b43fba81192c186 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Fri, 2 Mar 2018 13:15:28 -0800 Subject: process follow from article menu in the background, do not reload page - hubzilla issue #987 --- view/js/main.js | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'view/js/main.js') 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%' }); } -- cgit v1.2.3