Merge pull request #462 from chrisingenhaag/patch-1

Bind scroll event to window
This commit is contained in:
Morris Jobke 2018-08-25 00:14:47 +02:00 committed by GitHub
commit 97e56fb695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ $(document).ready(function () {
});
// This block loads new rows
$('html, #content-wrapper').scroll(function () {
$(window).scroll(function () {
Gallery.view.loadVisibleRows(Gallery.albumMap[Gallery.currentAlbum]);
});