move live update: update_contacts to update_contact
This commit is contained in:
parent
509dc29b2d
commit
93d50af700
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
|
@ -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…
Reference in a new issue