src/infinite-scroll.js
function changeContainer(newContainer) {
        if (container != null) {
          container.unbind('scroll', handler);
        }

        container = newContainer;
        if (newContainer != null) {
          container.bind('scroll', handler);
        }
      }
function changeContainer(newContainer) {
        if (container != null) {
          container.unbind('scroll', handler);
        }

        container = newContainer;
        if (newContainer != null) {
          container.bind('scroll', handler);
        }
      }
function changeContainer ( newContainer ) { if ( container != null ) { container . unbind ( 'scroll' , handler ) ; } container = newContainer ; if ( newContainer != null ) { container . bind ( 'scroll' , handler ) ; } }
infinite-scroll-container sets the container which we want to be infinte scrolled, instead of the whole window. Must be an Angular or jQuery element, or, if jQuery is loaded, a jQuery selector as a string.
infinite - scroll - container sets the container which we want to be infinte scrolled instead of the whole window . Must be an Angular or jQuery element or if jQuery is loaded a jQuery selector as a string .