sr-npm 1.7.287 → 1.7.288
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 -2
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -338,12 +338,13 @@ async function handleLocationParam(_$w,location) {
|
|
|
338
338
|
console.log("location dropdown options:", dropdownOptions);
|
|
339
339
|
const optionsFromCMS=await wixData.query("cities").find();
|
|
340
340
|
//+1 because of the "All" option
|
|
341
|
-
|
|
341
|
+
console.log("i am here####################")
|
|
342
342
|
if(dropdownOptions.length!==optionsFromCMS.items.length+1){
|
|
343
343
|
fixDropdownOptions('#dropdownLocation',optionsFromCMS, _$w);
|
|
344
344
|
}
|
|
345
|
+
console.log("dropdown options after fix: ", _$w('#dropdownLocation').options);
|
|
345
346
|
|
|
346
|
-
if (_$w('#dropdownLocation').options.find(option => option.value === locationValue))
|
|
347
|
+
if (_$w('#dropdownLocation').options.find(option => option.value.toLowerCase() === locationValue.toLowerCase()))
|
|
347
348
|
{
|
|
348
349
|
_$w('#dropdownLocation').value = locationValue;
|
|
349
350
|
console.log("i am here!@@##!@#")
|