chriz74x
chriz74x
I got it. The script doesn't meet this condition: ``` if (!data.waiting && iTotalHeight + _options.padding >= $inner.outerHeight()) ``` Infact having logged those the `iTtotalHeight + _options.padding` is always less...
Here what I found, modyfing your code to: ``` // Wrap inner content, if it isn't already _wrapInnerContent = function() { if (!$e.find('.jscroll-inner').length) { $e.contents().wrapAll(''); } }, ``` and removing...
I added this in my blade view in the script section to make it work: ``` @section('scripts') {!! Html::script('js/infScroll-cards.js') !!} $( document ).ready(function() { $('div.jscroll-inner').addClass('card-columns'); }); @endsection ```
I made a fork where I modified the script to add an optional class in user options. Please review it. https://github.com/chriz74x/jscroll