From: Michael Date: Mon, 10 Feb 2025 23:46:05 +0000 (+0000) Subject: Fix refresh after commenting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98445a14e497a26a4a9b13ffbf378235c06aa10c;p=friendica.git Fix refresh after commenting --- diff --git a/view/js/main.js b/view/js/main.js index 3d488b4029..e8f60bd08d 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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;