sr-npm 1.7.250 → 1.7.251

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.250",
3
+ "version": "1.7.251",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,9 +18,7 @@ const {
18
18
  let queryKeyWordVar;
19
19
  let queryDepartmentVar;
20
20
  let queryLocationVar;
21
- let baseUrl;
22
21
  async function careersPageOnReady(_$w,thisObject,queryParams) {
23
- baseUrl = await location.baseUrl();
24
22
  console.log("queryParams: ", queryParams);
25
23
  const { page, keyWord, department, location } = queryParams;
26
24
  queryPageVar=page;
@@ -156,6 +154,7 @@ async function bind(_$w) {
156
154
 
157
155
  _$w('#positionsRepeater').onItemReady(async ($item, itemData) => {
158
156
  $item('#positionItem').onClick(async () => {
157
+ let baseUrl = await location.baseUrl();
159
158
  to(`${baseUrl}/jobs/${itemData._id}`);
160
159
  });
161
160
  });