sr-npm 1.7.1285 → 1.7.1287
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,6 @@
|
|
|
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
|
-
|
|
4
|
-
const { window:wixWindow } = require('@wix/site-window');
|
|
3
|
+
const { window } = require('@wix/site-window');
|
|
5
4
|
const { queryParams,onChange} = require('wix-location-frontend');
|
|
6
5
|
const { location } = require("@wix/site-location");
|
|
7
6
|
const {
|
|
@@ -50,7 +49,7 @@ const pagination = {
|
|
|
50
49
|
|
|
51
50
|
async function careersMultiBoxesPageOnReady(_$w,urlParams) {
|
|
52
51
|
//to handle back and forth , url changes
|
|
53
|
-
|
|
52
|
+
|
|
54
53
|
onChange(async ()=>{
|
|
55
54
|
urlOnchangeIsActive=true;
|
|
56
55
|
await handleBackAndForth(_$w);
|
|
@@ -69,10 +68,11 @@ async function careersMultiBoxesPageOnReady(_$w,urlParams) {
|
|
|
69
68
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.CLEAR_ALL_BUTTON_ID).onClick(async () => {
|
|
70
69
|
await clearAll(_$w);
|
|
71
70
|
});
|
|
72
|
-
if (await
|
|
71
|
+
if (await window.formFactor() === "Mobile") {
|
|
73
72
|
handleFilterInMobile(_$w);
|
|
74
73
|
}
|
|
75
74
|
_$w(CAREERS_MULTI_BOXES_PAGE_CONSTS.RESULTS_MULTI_STATE_BOX).changeState("results");
|
|
75
|
+
selectedParamsList.push(urlParams);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
async function handleBackAndForth(_$w){
|