]> git.mxchange.org Git - friendica.git/blobdiff - view/js/main.js
Improved page info detection
[friendica.git] / view / js / main.js
index 0b9c1da283e2a526c16f06071494ebb8bf729ecb..d029ec13bcefd9719225c4d37f8f48428ac67135 100644 (file)
@@ -675,11 +675,13 @@ 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;
+       force_update = true;
+       update_item = ident.toString();
 }
 
 function doStar(ident) {