sr-npm 1.7.729 → 1.7.730

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.729",
3
+ "version": "1.7.730",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -117,7 +117,7 @@ async function loadPaginationButtons(_$w) {
117
117
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.PAGE_BUTTON_PREVIOUS).onClick(async () => {
118
118
  console.log("previous page button clicked");
119
119
  console.log("current displayed jobs: ", _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.JOBS_REPEATER).data);
120
- let previousPageJobs=currentJobs.slice(pagination.pageSize*(pagination.currentPage-2),pagination.pageSize*pagination.currentPage);
120
+ let previousPageJobs=currentJobs.slice(pagination.pageSize*(pagination.currentPage-2),pagination.pageSize*pagination.currentPage-1);
121
121
  console.log("previousPageJobs ",previousPageJobs);
122
122
  console.log("current pagination.currentPage: ", pagination.currentPage);
123
123
  pagination.currentPage--;