Fix error with undefined profile_uid
This commit is contained in:
parent
749aef7172
commit
6d0832e693
@ -604,6 +604,7 @@ function updateConvItems(mode,data) {
|
||||
}
|
||||
|
||||
function liveUpdate() {
|
||||
if(typeof profile_uid === 'undefined') profile_uid = false; /* Should probably be unified with channelId defined in head.tpl */
|
||||
if((src == null) || (stopped) || (! profile_uid)) { $('.like-rotator').spin(false); return; }
|
||||
if(($('.comment-edit-text-full').length) || (in_progress)) {
|
||||
if(livetime) {
|
||||
|
Reference in New Issue
Block a user