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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.239",
3
+ "version": "1.7.240",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -158,7 +158,7 @@ async function bind(_$w) {
158
158
  });
159
159
  }
160
160
 
161
- async function init(_$w) {
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
- // console.log("printing stuff")
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) {