sr-npm 1.7.234 → 1.7.236

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.234",
3
+ "version": "1.7.236",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -147,7 +147,7 @@ async function bind(_$w) {
147
147
 
148
148
  });
149
149
 
150
- if (await window.formFactor === "Mobile") {
150
+ if (await window.formFactor() === "Mobile") {
151
151
  _$w('#dropdownsContainer').collapse();
152
152
  }
153
153
 
@@ -173,9 +173,10 @@ async function init(_$w) {
173
173
  _$w('#dropdownsContainer, #closeFiltersButton').collapse();
174
174
  });
175
175
 
176
- if (await window.formFactor === "Mobile") {
177
- _$w('#closeFiltersButton').expand();
178
- }
176
+ // if (await window.formFactor() === "Mobile") {
177
+ // console.log("expanding filters button");
178
+ // await _$w('#closeFiltersButton').expand();
179
+ // }
179
180
  }
180
181
 
181
182
  async function applyFilters(_$w, skipUrlUpdate = false) {