sr-npm 1.7.235 → 1.7.237

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.235",
3
+ "version": "1.7.237",
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,7 +173,7 @@ async function init(_$w) {
173
173
  _$w('#dropdownsContainer, #closeFiltersButton').collapse();
174
174
  });
175
175
 
176
- if (await window.formFactor === "Mobile") {
176
+ if (await window.formFactor() === "Mobile") {
177
177
  console.log("expanding filters button");
178
178
  await _$w('#closeFiltersButton').expand();
179
179
  }