Replace references of GET mod/substhread with POST item/{id}/follow

This commit is contained in:
Hypolite Petovan 2021-01-30 15:51:27 -05:00
parent 15e9f219e7
commit 7f78d6e722
5 changed files with 19 additions and 19 deletions

View file

@ -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;
}