sr-npm 1.7.324 → 1.7.326

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.324",
3
+ "version": "1.7.326",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -83,6 +83,10 @@ async function setPageParamInUrl() {
83
83
 
84
84
  }
85
85
  async function handleUrlParams(_$w) {
86
+ console.log("queryKeyWordVar: ", queryKeyWordVar);
87
+ console.log("queryPageVar: ", queryPageVar);
88
+ console.log("queryDepartmentVar: ", queryDepartmentVar);
89
+ console.log("queryLocationVar: ", queryLocationVar);
86
90
  if (queryKeyWordVar) {
87
91
  await handleKeyWordParam(_$w,queryKeyWordVar);
88
92
  }
@@ -174,8 +178,8 @@ function init(_$w) {
174
178
  _$w('#dropdownsContainer, #closeFiltersButton').collapse();
175
179
  });
176
180
 
177
- onChange(()=>{
178
- console.log("URL changed onChange");
181
+ onChange((location)=>{
182
+ console.log("URL changed onChange", location);
179
183
  handleUrlParams(_$w);
180
184
  });
181
185