sr-npm 1.7.1291 → 1.7.1293

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.1291",
3
+ "version": "1.7.1293",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -62,6 +62,7 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
62
62
  _$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CLEAR_ALL_BUTTON_ID).onClick(async () => {
63
63
  await clearAll(_$w);
64
64
  });
65
+
65
66
  const formFactor = await window.formFactor();
66
67
  if(formFactor === "Mobile" || formFactor === "Tablet") {
67
68
  handleFilterButton(_$w);
@@ -150,12 +151,10 @@ function handleFilterButton(_$w) {
150
151
  exitFilterBox();
151
152
  });
152
153
 
153
- //onmobile or tablet we should collapse the filter box and the refine search button by default
154
-
155
- mobileFilterBoxSelectors.forEach(selector => {
156
- _$w(selector).collapse();
157
- });
158
-
154
+ //onmobile we should collapse the filter box and the refine search button by default
155
+ mobileFilterBoxSelectors.forEach(selector => {
156
+ _$w(selector).collapse();
157
+ });
159
158
  }
160
159
 
161
160