sr-npm 1.7.239 → 1.7.240
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 +2 -9
package/package.json
CHANGED
package/pages/careersPage.js
CHANGED
|
@@ -158,7 +158,7 @@ async function bind(_$w) {
|
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
|
|
161
|
+
function init(_$w) {
|
|
162
162
|
const debouncedSearch = debounce(()=>applyFilters(_$w), 400,thisObjectVar);
|
|
163
163
|
|
|
164
164
|
_$w('#searchInput').onInput(debouncedSearch);
|
|
@@ -172,14 +172,7 @@ async function init(_$w) {
|
|
|
172
172
|
_$w('#closeFiltersButton').onClick(()=>{
|
|
173
173
|
_$w('#dropdownsContainer, #closeFiltersButton').collapse();
|
|
174
174
|
});
|
|
175
|
-
|
|
176
|
-
// let formFactor = await window.formFactor();
|
|
177
|
-
// console.log("formFactor: ", formFactor);
|
|
178
|
-
|
|
179
|
-
// if (formFactor === "Mobile") {
|
|
180
|
-
// console.log("expanding filters button");
|
|
181
|
-
// await _$w('#closeFiltersButton').expand();
|
|
182
|
-
// }
|
|
175
|
+
|
|
183
176
|
}
|
|
184
177
|
|
|
185
178
|
async function applyFilters(_$w, skipUrlUpdate = false) {
|