diff options
-rw-r--r-- | include/zid.php | 6 | ||||
-rw-r--r-- | view/js/main.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/zid.php b/include/zid.php index fe06948ba..a37ebe1f6 100644 --- a/include/zid.php +++ b/include/zid.php @@ -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 diff --git a/view/js/main.js b/view/js/main.js index a69bcfa64..0169ee54c 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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); } |