diff --git a/src/Content/Conversation.php b/src/Content/Conversation.php index 522de7b57..ec317824b 100644 --- a/src/Content/Conversation.php +++ b/src/Content/Conversation.php @@ -493,7 +493,7 @@ class Conversation if (!$update) { $live_update_div = '
' . "\r\n" . "\r\n"; + . "; var netargs = '?f='; \r\n"; } } elseif ($mode === 'display') { $items = $this->addChildren($items, false, $order, $uid, $mode); @@ -520,7 +520,7 @@ class Conversation if (!$update) { $live_update_div = '
' . "\r\n" . "\r\n"; + ."?f='; \r\n"; } } elseif ($mode === 'search') { $live_update_div = '' . "\r\n"; diff --git a/static/routes.config.php b/static/routes.config.php index bed1dfdee..7a86d8d03 100644 --- a/static/routes.config.php +++ b/static/routes.config.php @@ -642,7 +642,7 @@ return [ '/update_community[/{content}]' => [Module\Update\Community::class, [R::GET]], - '/update_display[/]' => [Module\Update\Display::class, [R::GET]], + '/update_display' => [Module\Update\Display::class, [R::GET]], '/update_network' => [ '[/]' => [Module\Update\Network::class, [R::GET]], diff --git a/view/js/main.js b/view/js/main.js index 93340dc37..e11585381 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -590,7 +590,7 @@ function liveUpdate(src) { var orgHeight = $("section").height(); - var udargs = ((netargs.length) ? '/' + netargs : ''); + var udargs = ((netargs.length) ? netargs : ''); var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&force=' + (force ? 1 : 0) + '&item=' + update_item;