sr-npm 1.7.335 → 1.7.337

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.335",
3
+ "version": "1.7.337",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -186,21 +186,37 @@ function init(_$w) {
186
186
  const newQueryParams=await location.query();
187
187
  console.log("location.query(): ", newQueryParams);
188
188
  if(newQueryParams.keyWord){
189
- console.log("setting querykeypaaram")
189
+ console.log("setting querykeyparam")
190
190
  queryKeyWordVar=newQueryParams.keyWord;
191
191
  }
192
+ else
193
+ {
194
+ queryKeyWordVar=undefined;
195
+ }
192
196
  if(newQueryParams.department){
193
197
  console.log("setting queryDepartmentVar")
194
198
  queryDepartmentVar=newQueryParams.department;
195
199
  }
200
+ else
201
+ {
202
+ queryDepartmentVar=undefined;
203
+ }
196
204
  if(newQueryParams.location){
197
205
  console.log("setting queryLocationVar")
198
206
  queryLocationVar=newQueryParams.location;
199
207
  }
208
+ else
209
+ {
210
+ queryLocationVar=undefined;
211
+ }
200
212
  if(newQueryParams.page){
201
213
  console.log("setting queryPageVar")
202
214
  queryPageVar=newQueryParams.page;
203
215
  }
216
+ else
217
+ {
218
+ queryPageVar=undefined;
219
+ }
204
220
  handleUrlParams(_$w);
205
221
  });
206
222