sr-npm 1.7.1297 → 1.7.1298

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.1297",
3
+ "version": "1.7.1298",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -39,7 +39,6 @@ let secondarySearchIsFilled=false // whether the secondary search is filled with
39
39
  let keywordAllJobs; // all jobs that are displayed in the jobs repeater when the keyword is filled
40
40
  let ActivateURLOnchange=true; // whether to activate the url onchange
41
41
  let considerAllJobs=false; // whether to consider all jobs or not
42
- let formFactor;
43
42
  const pagination = {
44
43
  pageSize: 10,
45
44
  currentPage: 1,
@@ -62,15 +61,15 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
62
61
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CLEAR_ALL_BUTTON_ID).onClick(async () => {
63
62
  await clearAll(_$w);
64
63
  });
65
- formFactor = await window.formFactor();
64
+
66
65
  setInterval(async () => {
67
66
  const windowinfo=await window.getBoundingRect();
68
67
  if(windowinfo.window.width>1000){
69
- handleFilterButton(_$w,formFactor);
68
+ handleFilterButton(_$w,"Desktop");
70
69
  }
71
70
  else{
72
71
 
73
- handleFilterButton(_$w,formFactor);
72
+ handleFilterButton(_$w,"Mobile");
74
73
  }
75
74
  }, 600);
76
75