]> git.mxchange.org Git - friendica.git/commitdiff
Fix refresh after commenting
authorMichael <heluecht@pirati.ca>
Mon, 10 Feb 2025 23:46:05 +0000 (23:46 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 10 Feb 2025 23:46:05 +0000 (23:46 +0000)
view/js/main.js

index 3d488b4029f324eed9abc1a032c1149a90439fae..e8f60bd08d324270954af392a3290db36ecc22b7 100644 (file)
@@ -632,11 +632,13 @@ function liveUpdate(src) {
 
        var orgHeight = $("section").height();
 
+       var update_url = getUpdateUrl(src);
+
        if (force_update) {
                force_update = false;
        }
 
-       $.get('update_' + getUpdateUrl(src), function(data) {
+       $.get('update_' + update_url, function(data) {
                in_progress = false;
                update_item = 0;