aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-03 16:32:30 -0700
committerfriendica <info@friendica.com>2014-08-03 16:32:30 -0700
commit464b2b65702e7a84df6632240377d1920233d495 (patch)
treeb61125aeddab0bab0b90fbf0333461e9ad55a661
parent44ee18b810b8671c9b522b06a5d8d0e62a3bef00 (diff)
downloadvolse-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.inc2
-rw-r--r--view/js/main.js13
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) {