From 6d0832e693d99cd14b1e9fdde7fbc2931c301d1a Mon Sep 17 00:00:00 2001 From: Stefan Parviainen Date: Mon, 5 Jan 2015 20:29:20 +0100 Subject: Fix error with undefined profile_uid --- view/js/main.js | 1 + 1 file changed, 1 insertion(+) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 64e9e06f1..f1b41bcbe 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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) { -- cgit v1.2.3