diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-05 20:29:20 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2015-01-05 20:29:20 +0100 |
commit | 6d0832e693d99cd14b1e9fdde7fbc2931c301d1a (patch) | |
tree | 20da96bb4078543fd5550aed5a1f6ab976938a85 /view | |
parent | 749aef7172f938019321ec1d43d65ab8d2a34cca (diff) | |
download | volse-hubzilla-6d0832e693d99cd14b1e9fdde7fbc2931c301d1a.tar.gz volse-hubzilla-6d0832e693d99cd14b1e9fdde7fbc2931c301d1a.tar.bz2 volse-hubzilla-6d0832e693d99cd14b1e9fdde7fbc2931c301d1a.zip |
Fix error with undefined profile_uid
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |