sr-npm 1.7.220 → 1.7.222
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 +1 -1
- package/pages/careersPage.js +5 -2
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -144,6 +144,7 @@ async function handlePageParam(_$w) {
|
|
|
144
144
|
async function bind(_$w) {
|
|
145
145
|
await _$w('#jobsDataset').onReady(async () => {
|
|
146
146
|
await updateCount(_$w);
|
|
147
|
+
await updateMapMarkers(_$w);
|
|
147
148
|
|
|
148
149
|
});
|
|
149
150
|
|
|
@@ -262,7 +263,9 @@ async function resetFilters(_$w) {
|
|
|
262
263
|
|
|
263
264
|
|
|
264
265
|
await updateCount(_$w);
|
|
266
|
+
console.log("reseting map markers");
|
|
265
267
|
await updateMapMarkers(_$w);
|
|
268
|
+
console.log("reseting map markers completed");
|
|
266
269
|
}
|
|
267
270
|
|
|
268
271
|
async function updateCount(_$w) {
|
|
@@ -362,13 +365,13 @@ async function updateMapMarkers(_$w){
|
|
|
362
365
|
}
|
|
363
366
|
else{
|
|
364
367
|
console.log("no positions found");
|
|
365
|
-
_$w('#googleMaps').setMarkers({
|
|
368
|
+
_$w('#googleMaps').setMarkers([{
|
|
366
369
|
location: {
|
|
367
370
|
latitude: 0,
|
|
368
371
|
longitude: 0
|
|
369
372
|
},
|
|
370
373
|
address: "No positions found",
|
|
371
|
-
});
|
|
374
|
+
}]);
|
|
372
375
|
}
|
|
373
376
|
}
|
|
374
377
|
|