Skip to content

Commit

Permalink
code improving
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-alexsaiannyi committed Dec 22, 2020
1 parent 5920ec0 commit 5620dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/theme/common/utils/pagination-utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const changeWishlistPaginationLinks = (wishlistUrl, ...paginationItems) => $.each(paginationItems, (_, $item) => {
const paginationLink = $item.children('a');
const paginationLink = $item.children('.pagination-link');

if ($item.length && !paginationLink.attr('href').includes('page=')) {
const pageNumber = paginationLink.attr('href');
Expand Down

0 comments on commit 5620dcf

Please sign in to comment.