diff --git a/include/main.js b/include/main.js index 0e9c6ee751..d17d923e42 100644 --- a/include/main.js +++ b/include/main.js @@ -149,7 +149,7 @@ prev = 'live-' + src; in_progress = true; - var udargs = ((netargs.length) ? '/?f=' + netargs : '?f='); + var udargs = ((netargs.length) ? '/' + netargs : ''); var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0); $.get(update_url,function(data) { diff --git a/mod/community.php b/mod/community.php index 73feaabc69..cf43598b51 100644 --- a/mod/community.php +++ b/mod/community.php @@ -27,7 +27,7 @@ function community_content(&$a, $update = 0) { if(! $update) { $o .= ''; $o .= '
' . "\r\n"; - $o .= "\r\n"; + $o .= "\r\n"; } if(x($a->data,'search')) diff --git a/mod/network.php b/mod/network.php index f05bf3e344..000c9e2fed 100644 --- a/mod/network.php +++ b/mod/network.php @@ -126,6 +126,7 @@ function network_content(&$a, $update = 0) { $o .= '' . "\r\n"; $o .= "\r\n"; + . "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; \r\n"; } }