sfc-utils 1.3.57 → 1.3.58

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.
@@ -190,6 +190,7 @@ const Topper2 = ({ settings, wcmData, lazyloader }) => {
190
190
 
191
191
  const calculateFullScreenImageRatio = () => {
192
192
  // ratio needs to account for height of nav bar which is 37px
193
+ if (typeof window === "undefined") return "56.25%"
193
194
  const windowRatio = ((window.innerHeight-37) / window.innerWidth)*100;
194
195
  let fullScreenRatio = "56.25%"; // defaults to 16/9;
195
196
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sfc-utils",
3
- "version": "1.3.57",
3
+ "version": "1.3.58",
4
4
  "author": "ewagstaff <evanjwagstaff@gmail.com>",
5
5
  "dependencies": {
6
6
  "archieml": "^0.4.2",