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