diff --git a/js/main.js b/js/main.js index a4a1c977ca..902c19a839 100644 --- a/js/main.js +++ b/js/main.js @@ -302,7 +302,7 @@ in_progress = true; var udargs = ((netargs.length) ? '/' + netargs : ''); - var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0); + var update_url = 'update_' + src + udargs + '&p=' + profile_uid + '&page=' + profile_page + '&msie=' + ((msie) ? 1 : 0) + '&top=' + ($(document).scrollTop() != 0 ? '0' : '1'); $.get(update_url,function(data) { in_progress = false; diff --git a/mod/update_network.php b/mod/update_network.php index 65366d1377..ff668ab353 100644 --- a/mod/update_network.php +++ b/mod/update_network.php @@ -14,7 +14,7 @@ function update_network_content(&$a) { echo (($_GET['msie'] == 1) ? '