diff options
author | redmatrix <git@macgirvin.com> | 2016-06-09 16:45:53 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-09 16:45:53 -0700 |
commit | ee5372784e129ed7a162c7433f56fa3a1e877a67 (patch) | |
tree | 577442a99beeda73ddd6955a30a49079a867e375 /view/js/main.js | |
parent | 0dcea87b9944c106bce3e9604c8facf58fa9225f (diff) | |
download | volse-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/js/main.js')
-rw-r--r-- | view/js/main.js | 16 |
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(); |