sr-npm 1.7.279 → 1.7.281
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 +1 -2
- package/pages/homePage.js +1 -1
- package/public/filterUtils.js +1 -1
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -164,9 +164,8 @@ function init(_$w) {
|
|
|
164
164
|
const debouncedSearch = debounce(()=>applyFilters(_$w), 400,thisObjectVar);
|
|
165
165
|
_$w('#searchInput').onInput(debouncedSearch);
|
|
166
166
|
_$w('#searchInput').onBlur(()=>{
|
|
167
|
-
if(searchInputBlurredFirstTime)
|
|
167
|
+
if(searchInputBlurredFirstTime && _$w('#searchInput').value.trim() !== '')
|
|
168
168
|
{
|
|
169
|
-
console.log("search input blurred");
|
|
170
169
|
_$w('#searchInput').focus();
|
|
171
170
|
searchInputBlurredFirstTime=false;
|
|
172
171
|
}
|
package/pages/homePage.js
CHANGED
|
@@ -91,7 +91,7 @@ async function handleSearchInput(_$w) {
|
|
|
91
91
|
const trimmedInput = searchInput.trim();
|
|
92
92
|
|
|
93
93
|
const fieldsToSearch = [
|
|
94
|
-
|
|
94
|
+
// { field: 'title', searchTerm: trimmedInput },
|
|
95
95
|
{ field: 'cityText', searchTerm: trimmedInput }
|
|
96
96
|
];
|
|
97
97
|
|