Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/infinite-scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ angular.module(MODULE_NAME, [])
changeContainer(angular.element(elem.parent()));
}

if (attrs.infiniteScrollSelf != null) {
changeContainer(elem);
}

// infinte-scoll-immediate-check sets whether or not run the
// expression passed on infinite-scroll for the first time when the
// directive first loads, before any actual scroll.
Expand Down