mirror of
https://github.com/friendica/friendica
synced 2025-04-25 19:10:11 +00:00
Replace references of GET mod/substhread with POST item/{id}/follow
This commit is contained in:
parent
15e9f219e7
commit
7f78d6e722
5 changed files with 19 additions and 19 deletions
|
@ -675,10 +675,10 @@ function doActivityItem(ident, verb, un) {
|
|||
update_item = ident.toString();
|
||||
}
|
||||
|
||||
function dosubthread(ident) {
|
||||
function doFollowThread(ident) {
|
||||
unpause();
|
||||
$('#like-rotator-' + ident.toString()).show();
|
||||
$.get('subthread/' + ident.toString(), NavUpdate);
|
||||
$.post('item/' + ident.toString() + '/follow', NavUpdate);
|
||||
liking = 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue