sr-npm 1.7.1283 → 1.7.1284
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,7 +1,7 @@
|
|
|
1
1
|
const { COLLECTIONS,CUSTOM_VALUES_COLLECTION_FIELDS,JOBS_COLLECTION_FIELDS } = require('../backend/collectionConsts');
|
|
2
2
|
const { CAREERS_PAGE_SELECTORS, GLOBAL_SECTIONS_SELECTORS } = require('../public/selectors');
|
|
3
3
|
|
|
4
|
-
const { window } = require('@wix/site-window');
|
|
4
|
+
const { window:wixWindow } = require('@wix/site-window');
|
|
5
5
|
const { queryParams,onChange} = require('wix-location-frontend');
|
|
6
6
|
const { location } = require("@wix/site-location");
|
|
7
7
|
const {
|
|
@@ -129,7 +129,7 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
|
|
|
129
129
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CLEAR_ALL_BUTTON_ID).onClick(async () => {
|
|
130
130
|
await clearAll(_$w);
|
|
131
131
|
});
|
|
132
|
-
if (await
|
|
132
|
+
if (await wixWindow.formFactor() === "Mobile") {
|
|
133
133
|
handleFilterInMobile(_$w);
|
|
134
134
|
}
|
|
135
135
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.RESULTS_MULTI_STATE_BOX).changeState("results");
|