jquery-endless-scroll
jquery-endless-scroll copied to clipboard
Any way to disable upward scrolling?
I have got this script working great via ajax now and loading products as the user scrolls down. However when scrolling back to the top the script tries to load products again.
I thought something like this might fix it but it hasn't:
callback: function(fireSequence, pageSequence, scrollDirection) { if (scrollDirection == 'next') { } }