diff --git a/src/jquery.uls.lcd.js b/src/jquery.uls.lcd.js index 43d6bdd..813e07b 100644 --- a/src/jquery.uls.lcd.js +++ b/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' ); } ); }