]> git.mxchange.org Git - friendica.git/blobdiff - view/js/main.js
Replace references of GET mod/substhread with POST item/{id}/follow
[friendica.git] / view / js / main.js
index 0b9c1da283e2a526c16f06071494ebb8bf729ecb..4db78f6652827edb8c6675139428a30245e9f919 100644 (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;
 }