diff --git a/lib/jquery.uls/src/jquery.uls.lcd.js b/lib/jquery.uls/src/jquery.uls.lcd.js index 43d6bddb..813e07b6 100644 --- a/lib/jquery.uls/src/jquery.uls.lcd.js +++ b/lib/jquery.uls/src/jquery.uls.lcd.js @@ -158,8 +158,9 @@ } ); var inview = $.uls.data.regiongroups[inviewRegion]; - that.$element.find( 'div.uls-region' ).removeClass( 'active' ); - that.$element.find( 'div#uls-region-' + inview ).addClass( 'active' ); + // FIXME This is not a clean solution. It should get fixed with infinite scroll feature. + $( 'div.uls-region' ).removeClass( 'active' ); + $( 'div#uls-region-' + inview ).addClass( 'active' ); } ); }