Browse Source

move live update: update_contacts to update_contact

pull/6092/head
Jonny Tischbein 3 years ago
parent
commit
93d50af700
  1. 2
      mod/update_contact.php
  2. 2
      view/js/main.js

2
mod/update_contacts.php → mod/update_contact.php

@ -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";

2
view/js/main.js

@ -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);
}

Loading…
Cancel
Save