diff --git a/js/app.js b/js/app.js index c8530f703..05bb10fb0 100644 --- a/js/app.js +++ b/js/app.js @@ -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]); });