sr-npm 1.7.237 → 1.7.238

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.237",
3
+ "version": "1.7.238",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -172,8 +172,11 @@ 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);
175
178
 
176
- if (await window.formFactor() === "Mobile") {
179
+ if (formFactor === "Mobile") {
177
180
  console.log("expanding filters button");
178
181
  await _$w('#closeFiltersButton').expand();
179
182
  }