allow the PageDown key to trigger auto scroll - so if you use this key to page through the content you'll never reach the end (until you run out of content).

This commit is contained in:
friendica 2014-08-03 16:32:30 -07:00
parent 44ee18b810
commit 464b2b6570
2 changed files with 14 additions and 1 deletions

View File

@ -1 +1 @@
2014-08-02.755
2014-08-03.756

View File

@ -276,6 +276,19 @@
return false;
}
}
if(event.keyCode == '34') {
if((pageHasMoreContent) && (! loadingPage)) {
$('#more').hide();
$('#no-more').hide();
next_page++;
scroll_next = true;
loadingPage = true;
liveUpdate();
return true;
}
}
if(event.keyCode == '19' || (event.ctrlKey && event.which == '32')) {
event.preventDefault();
if(stopped == false) {