plutopluto

git clone https://git.ce9e.org/plutopluto.git

commit
b4a62bc674deac0b19c5b4bd2ebf14d4d2e9996c
parent
8c323351a4e678440eebffd2b203de1b9b29d5cd
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2017-07-23 20:41
improve scroll performance by using passive event listsner

Diffstat

M plutopluto/static/plutopluto.js 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/plutopluto/static/plutopluto.js b/plutopluto/static/plutopluto.js

@@ -101,7 +101,7 @@ $(document).ready(function() {
  101   101 			if (bottomDistance() < 4000) {
  102   102 				loadMore();
  103   103 			}
  104    -1 		});
   -1   104 		}, {passive: true});
  105   105 		$('.loading').click(loadMore);
  106   106 
  107   107 		// load initial content