mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 07:54:26 +02:00
Auto update of network page only at top of the page
This commit is contained in:
parent
9f09d90c6d
commit
2f89a9b3e8
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue