sr-npm 1.7.198 → 1.7.199
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 +3 -3
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -195,7 +195,7 @@ async function applyFilters(_$w, skipUrlUpdate = false) {
|
|
|
195
195
|
_$w(filter.elementId).value = '';
|
|
196
196
|
filter.value = '';
|
|
197
197
|
if (!skipUrlUpdate) {
|
|
198
|
-
queryParams.remove(["keyWord", "department","page"]);
|
|
198
|
+
queryParams.remove(["keyWord", "department","page","location"]);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
@@ -330,8 +330,8 @@ async function handleLocationParam(_$w,location) {
|
|
|
330
330
|
await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
|
|
331
331
|
}
|
|
332
332
|
else{
|
|
333
|
-
console.warn("
|
|
334
|
-
queryParams.remove(["
|
|
333
|
+
console.warn("location value not found in dropdown options");
|
|
334
|
+
queryParams.remove(["location" ]);
|
|
335
335
|
|
|
336
336
|
}
|
|
337
337
|
|