sr-npm 1.7.292 → 1.7.294
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 -4
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -341,12 +341,11 @@ async function handleLocationParam(_$w,location) {
|
|
|
341
341
|
if(dropdownOptions.length!==optionsFromCMS.items.length+1){
|
|
342
342
|
fixDropdownOptions('#dropdownLocation',optionsFromCMS, _$w);
|
|
343
343
|
}
|
|
344
|
-
console.log("dropdown options after fix: ", _$w('#dropdownLocation').options);
|
|
345
|
-
|
|
346
|
-
const option=_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase())
|
|
347
344
|
|
|
345
|
+
const option=_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase())
|
|
346
|
+
|
|
348
347
|
if(option){
|
|
349
|
-
_$w('#dropdownLocation').value =
|
|
348
|
+
_$w('#dropdownLocation').value = option.value;
|
|
350
349
|
await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
|
|
351
350
|
}
|
|
352
351
|
else{
|