sr-npm 1.7.1041 → 1.7.1044

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.1041",
3
+ "version": "1.7.1044",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -45,10 +45,7 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
45
45
  async function handleBackAndForth(_$w){
46
46
  const newQueryParams=await location.query();
47
47
  console.log("newQueryParams: ", newQueryParams);
48
- //selectedByField.clear();
49
48
  await clearAll(_$w,true);
50
-
51
-
52
49
  await handleUrlParams(_$w,newQueryParams);
53
50
 
54
51
  }
@@ -71,12 +68,10 @@ async function clearAll(_$w,urlOnChange=false) {
71
68
  }
72
69
  }
73
70
 
74
-
75
71
  async function handleUrlParams(_$w,urlParams) {
76
72
  try {
77
73
  let applyFiltering=false;
78
74
  let currentApplyFilterFlag=false;
79
-
80
75
  //apply this first to determine all jobs
81
76
  if(urlParams.keyword) {
82
77
  applyFiltering=await primarySearch(_$w, decodeURIComponent(urlParams.keyword), alljobs);
@@ -87,8 +82,6 @@ async function handleUrlParams(_$w,urlParams) {
87
82
 
88
83
  for (const url of possibleUrlParams)
89
84
  {
90
-
91
-
92
85
  if(urlParams[url])
93
86
  {
94
87