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:
parent
389b4beba4
commit
f660530ef5
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user