1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +01:00

fix infinescroll on photos page

This commit is contained in:
Matthias Kretschmann 2013-12-02 22:49:21 +01:00
parent fc83466045
commit de9d8172ef

View File

@ -154,7 +154,7 @@ var infiniteScroll = {
infiniteScrollSetup: function() {
if ( $('#photos').length > 0 ) {
if ( $('.page-photos').length > 0 ) {
var items = '#main .masonry';
} else {
var items = '#main article.hentry';
@ -171,7 +171,7 @@ var infiniteScroll = {
// run picturefill over retrieved items
picturefill();
// run the photogrid over retrieved items
//photoGrid.init();
photoGrid.init();
});
},