sr-npm 1.7.1274 → 1.7.1275

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.1274",
3
+ "version": "1.7.1275",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -73,7 +73,7 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
73
73
  }
74
74
 
75
75
  async function handleBackAndForth(_$w){
76
-
76
+
77
77
  const newQueryParams=await location.query();
78
78
  await handleUrlParams(_$w,newQueryParams,true);
79
79
  // if(ActivateURLOnchange) {
@@ -118,7 +118,7 @@ async function clearAll(_$w,urlOnChange=false) {
118
118
  keywordAllJobs=undefined;
119
119
  if(!urlOnChange) {
120
120
  console.log("inside clearAll removing url params");
121
- ActivateURLOnchange=false;
121
+ // ActivateURLOnchange=false;
122
122
  queryParams.remove(possibleUrlParams.concat(["keyword", "page"]));
123
123
 
124
124
  await updateJobsAndNumbersAndFilters(_$w,true);
@@ -314,7 +314,7 @@ async function handleParams(_$w,param,values) {
314
314
  const field=getFieldById(fieldId,allfields);
315
315
  let fieldTitle=field.title.toLowerCase().replace(' ', '');
316
316
  fieldTitle==="brands"? fieldTitle="brand":fieldTitle;
317
- ActivateURLOnchange=false;
317
+ // ActivateURLOnchange=false;
318
318
  const previousSelectedSize=selectedByField.size;
319
319
  if (updated.length) {
320
320
  selectedByField.set(fieldId, updated);
@@ -439,7 +439,7 @@ async function loadJobsRepeater(_$w) {
439
439
  const selected = ev.target.value; // array of selected value IDs
440
440
  let fieldTitle=field.title.toLowerCase().replace(' ', '');
441
441
  fieldTitle==="brands"? fieldTitle="brand":fieldTitle;
442
- ActivateURLOnchange=false;
442
+ // ActivateURLOnchange=false;
443
443
  const previousSelectedSize=selectedByField.size;
444
444
 
445
445
  if (selected && selected.length) {
@@ -664,7 +664,7 @@ function handlePaginationButtons(_$w)
664
664
  }
665
665
 
666
666
  function handlePageUrlParam() {
667
- ActivateURLOnchange=false;
667
+ // ActivateURLOnchange=false;
668
668
  if(pagination.currentPage==1 || pagination.currentPage==0)
669
669
  {
670
670
  queryParams.remove(["page"]);