aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-09 16:45:53 -0700
committerredmatrix <git@macgirvin.com>2016-06-09 16:45:53 -0700
commitee5372784e129ed7a162c7433f56fa3a1e877a67 (patch)
tree577442a99beeda73ddd6955a30a49079a867e375 /view
parent0dcea87b9944c106bce3e9604c8facf58fa9225f (diff)
downloadvolse-hubzilla-ee5372784e129ed7a162c7433f56fa3a1e877a67.tar.gz
volse-hubzilla-ee5372784e129ed7a162c7433f56fa3a1e877a67.tar.bz2
volse-hubzilla-ee5372784e129ed7a162c7433f56fa3a1e877a67.zip
remove the automatic ajax page load on pgdn key; it can load content much faster than you can page and potentially lead to memory exhaustion.
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 15a6b4b8d..f279417d9 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -321,22 +321,6 @@ $(function() {
return false;
}
}
- if(event.keyCode == '34') {
- if((pageHasMoreContent) && (! loadingPage)) {
- $('#more').hide();
- $('#no-more').hide();
-
- next_page++;
- scroll_next = true;
- loadingPage = true;
-
- if(($('.directory-end').length == 0) && ($('.photos-end').length == 0))
- liveUpdate();
- else
- pageUpdate();
- return true;
- }
- }
if(event.keyCode == '19' || (event.ctrlKey && event.which == '32')) {
event.preventDefault();