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:
parent
44ee18b810
commit
464b2b6570
@ -1 +1 @@
|
||||
2014-08-02.755
|
||||
2014-08-03.756
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user