diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-02 13:15:28 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-02 13:15:28 -0800 |
commit | df038055799d839aebab4e1a8b43fba81192c186 (patch) | |
tree | 5f9d86309f9ac6e51e995def46fca6ef1f793caf /view/js/main.js | |
parent | b38ce967f36e0dc5a503fbca9477732cd8967ea6 (diff) | |
download | volse-hubzilla-df038055799d839aebab4e1a8b43fba81192c186.tar.gz volse-hubzilla-df038055799d839aebab4e1a8b43fba81192c186.tar.bz2 volse-hubzilla-df038055799d839aebab4e1a8b43fba81192c186.zip |
process follow from article menu in the background, do not reload page - hubzilla issue #987
Diffstat (limited to 'view/js/main.js')
-rw-r--r-- | view/js/main.js | 6 |
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%' }); } |