sr-npm 1.7.291 → 1.7.292
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 -5
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -343,11 +343,9 @@ async function handleLocationParam(_$w,location) {
|
|
|
343
343
|
}
|
|
344
344
|
console.log("dropdown options after fix: ", _$w('#dropdownLocation').options);
|
|
345
345
|
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
if(checkme){
|
|
350
|
-
console.log("location value found in dropdown options");
|
|
346
|
+
const option=_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase())
|
|
347
|
+
|
|
348
|
+
if(option){
|
|
351
349
|
_$w('#dropdownLocation').value = checkme.value;
|
|
352
350
|
await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
|
|
353
351
|
}
|