process follow from article menu in the background, do not reload page - hubzilla issue #987

This commit is contained in:
zotlabs
2018-03-02 13:15:28 -08:00
parent b38ce967f3
commit df03805579
2 changed files with 9 additions and 3 deletions

View File

@@ -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%' });
}