Skip to content

Commit

Permalink
action-list.js: Don't load previous list item if load-more is triggred
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jul 11, 2023
1 parent 35dddb7 commit eb20d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/js/action-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@

if (toActiveItem) {
if (toActiveItem.classList.contains('load-more')) {
clearTimeout(_this.lastTimeoutId);
_this.handleLoadMoreNavigate(toActiveItem, lastActivatedItem, event.key);
return;
}
Expand Down

0 comments on commit eb20d59

Please sign in to comment.