move live update: update_contacts to update_contact

This commit is contained in:
Jonny Tischbein 2018-11-06 22:22:42 +01:00
parent 509dc29b2d
commit 93d50af700
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ use Friendica\Core\L10n;
use Friendica\Core\PConfig;
use Friendica\Module\Contact;
function update_contacts_content(App $a)
function update_contact_content(App $a)
{
header("Content-type: text/html");
echo "<!DOCTYPE html><html><body>\r\n";

View File

@ -390,7 +390,7 @@ function NavUpdate() {
$('nav').trigger('nav-update', data.result);
// start live update
['network', 'profile', 'community', 'notes', 'display', 'contacts'].forEach(function (src) {
['network', 'profile', 'community', 'notes', 'display', 'contact'].forEach(function (src) {
if ($('#live-' + src).length) {
liveUpdate(src);
}