diff --git a/index.php b/index.php index f4dfb73..721ac0b 100644 --- a/index.php +++ b/index.php @@ -297,7 +297,7 @@ if($usehistorypushstate) { - + diff --git a/js/dom-functions.js b/js/dom-functions.js index 5edda5a..791ec5e 100644 --- a/js/dom-functions.js +++ b/js/dom-functions.js @@ -1167,7 +1167,7 @@ function showConversation(qid) { // in-groups html var in_groups_html = ''; - if(obj.statusnet_in_groups !== false) { + if(obj.statusnet_in_groups !== false && typeof obj.statusnet_in_groups != 'undefined') { in_groups_html = '' + obj.statusnet_in_groups + ''; } @@ -1622,7 +1622,7 @@ function addToFeed(feed, after, extraClasses) { // in-groups html var in_groups_html = ''; - if(obj.statusnet_in_groups !== false) { + if(obj.statusnet_in_groups !== false && typeof obj.statusnet_in_groups != 'undefined') { in_groups_html = '' + obj.statusnet_in_groups + ''; }