diff options
author | friendica <info@friendica.com> | 2014-08-03 16:32:30 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-03 16:32:30 -0700 |
commit | 464b2b65702e7a84df6632240377d1920233d495 (patch) | |
tree | b61125aeddab0bab0b90fbf0333461e9ad55a661 | |
parent | 44ee18b810b8671c9b522b06a5d8d0e62a3bef00 (diff) | |
download | volse-hubzilla-464b2b65702e7a84df6632240377d1920233d495.tar.gz volse-hubzilla-464b2b65702e7a84df6632240377d1920233d495.tar.bz2 volse-hubzilla-464b2b65702e7a84df6632240377d1920233d495.zip |
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).
-rw-r--r-- | version.inc | 2 | ||||
-rw-r--r-- | view/js/main.js | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/version.inc b/version.inc index 475796bca..91ef22530 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2014-08-02.755 +2014-08-03.756 diff --git a/view/js/main.js b/view/js/main.js index eeee9e3ab..8e05d6776 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -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) { |