sr-npm 1.7.1273 → 1.7.1274

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.1273",
3
+ "version": "1.7.1274",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -73,32 +73,35 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
73
73
  }
74
74
 
75
75
  async function handleBackAndForth(_$w){
76
- if(ActivateURLOnchange) {
77
- const newQueryParams=await location.query();
78
- console.log("newQueryParams: ", newQueryParams);
79
- if(newQueryParams.page)
80
- {
81
- pageIsRemoved=false;
82
- }
83
- else
84
- {
85
- pageIsRemoved=true;
86
- }
87
- ActivateURLOnchange=false;
88
- await clearAll(_$w,true);
89
- await handleUrlParams(_$w,newQueryParams,true);
90
- ActivateURLOnchange=true;
91
- if(pageIsRemoved)
92
- {
93
- handlePaginationButtons(_$w);
94
- pageIsRemoved=false;
95
- }
76
+
77
+ const newQueryParams=await location.query();
78
+ await handleUrlParams(_$w,newQueryParams,true);
79
+ // if(ActivateURLOnchange) {
80
+ // const newQueryParams=await location.query();
81
+ // console.log("newQueryParams: ", newQueryParams);
82
+ // if(newQueryParams.page)
83
+ // {
84
+ // pageIsRemoved=false;
85
+ // }
86
+ // else
87
+ // {
88
+ // pageIsRemoved=true;
89
+ // }
90
+ // ActivateURLOnchange=false;
91
+ // await clearAll(_$w,true);
92
+ // await handleUrlParams(_$w,newQueryParams,true);
93
+ // ActivateURLOnchange=true;
94
+ // if(pageIsRemoved)
95
+ // {
96
+ // handlePaginationButtons(_$w);
97
+ // pageIsRemoved=false;
98
+ // }
96
99
 
97
100
 
98
- }
99
- else{
100
- ActivateURLOnchange=true;
101
- }
101
+ // }
102
+ // else{
103
+ // ActivateURLOnchange=true;
104
+ // }
102
105
  }
103
106
 
104
107
  async function clearAll(_$w,urlOnChange=false) {