sr-npm 3.1.16 → 3.1.18

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.
@@ -31,6 +31,7 @@ const CAREERS_MULTI_BOXES_PAGE_CONSTS={
31
31
  PRIMARY_SEARCH_CATEGORY_BUTTON: '#primarySearchCategoryButton',
32
32
  RESULTS_CONTAINER: '#resultsContainer',
33
33
  PRIMARY_SEARCH_BUTTON: '#primarySearchButton',
34
+ RESULTS_MULTI_STATE_BOX: '#multiStateBox1',
34
35
  }
35
36
 
36
37
  const TWG_JOBS_COLLECTION_FIELDS={
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "3.1.16",
3
+ "version": "3.1.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -49,7 +49,6 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
49
49
  onChange(async ()=>{
50
50
  await handleBackAndForth(_$w);
51
51
  });
52
-
53
52
  await loadData(_$w);
54
53
  await loadJobsRepeater(_$w); // if we remove the await here the job list will be flaky , it doesn't fill it properly
55
54
  loadPrimarySearchRepeater(_$w);
@@ -57,16 +56,14 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
57
56
  loadSelectedValuesRepeater(_$w);
58
57
  bindSearchInput(_$w);
59
58
  loadPaginationButtons(_$w);
60
-
61
59
  if (await window.formFactor() === "Mobile") {
62
60
  handleFilterInMobile(_$w);
63
61
  }
64
-
65
62
  await handleUrlParams(_$w, urlParams);
66
63
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CLEAR_ALL_BUTTON_ID).onClick(async () => {
67
64
  await clearAll(_$w);
68
65
  });
69
-
66
+ _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.RESULTS_MULTI_STATE_BOX).changeState("results");
70
67
  }
71
68
 
72
69
  async function handleBackAndForth(_$w){