sr-npm 1.7.157 → 1.7.158

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.157",
3
+ "version": "1.7.158",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -277,7 +277,7 @@ async function handleDepartmentParam(_$w,department) {
277
277
  await applyFilters(_$w, true); // Skip URL update since we're handling initial URL params
278
278
  }
279
279
  else{
280
- console.log("department value not found in dropdown options");
280
+ console.warn("department value not found in dropdown options");
281
281
  queryParams.remove(["department" ]);
282
282
 
283
283
  }
package/pages/homePage.js CHANGED
@@ -48,14 +48,13 @@ function init(_$w) {
48
48
 
49
49
  _$w('#searchInput').onInput(debouncedInput);
50
50
  _$w('#searchInput').maxLength = 40;
51
- _$w('#button1').onClick(()=>{
51
+ _$w('#searchButton').onClick(()=>{
52
52
  const trimmedInput = _$w('#searchInput').value.trim();
53
53
  if (trimmedInput) {
54
54
  location.to(`/positions?keyWord=${trimmedInput}`);
55
55
  }
56
56
  });
57
57
 
58
-
59
58
  _$w('#searchInput').onKeyPress((event) => {
60
59
  if (event.key === 'Enter') {
61
60
  handleEnterPress(_$w('#searchInput').value);