sr-npm 1.7.249 → 1.7.250

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