allow notification updates when composing comments. This was disabled when it was possible to have liveUpdate run automatically while composing comments, but it seems that live update is no longer possible (however the setting still remains - this should probably be removed).

This commit is contained in:
zotlabs 2019-01-02 12:49:04 -08:00
parent 389b4beba4
commit f660530ef5
2 changed files with 4 additions and 4 deletions

View File

@ -70,9 +70,9 @@ function zid($s, $address = '') {
$zurl .= '#' . $fragment;
$arr = [
'url' => $s,
'zid' => urlencode($myaddr),
'result' => $zurl
'url' => $s,
'zid' => urlencode($myaddr),
'result' => $zurl
];
/**
* @hooks zid

View File

@ -888,7 +888,7 @@ function liveUpdate(notify_id) {
if((src === null) || (stopped) || (! profile_uid)) { $('.like-rotator').hide(); return; }
if(($('.comment-edit-text.expanded').length) || (in_progress) || (mediaPlaying)) {
if(in_progress || mediaPlaying) {
if(livetime) {
clearTimeout(livetime);
}