@mjhls/mjh-framework 1.0.438 → 1.0.439

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.438
2
+ # mjh-framework v. 1.0.439
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -420,7 +420,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
420
420
  return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
421
421
  }
422
422
 
423
- if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && article._type && !['lg-infeed', 'brandInsightAd'].includes(article._type)) {
423
+ if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
424
424
  return React__default.createElement(
425
425
  visibilitySensor.VisibilitySensor,
426
426
  {
@@ -414,7 +414,7 @@ var cardLoader = function cardLoader(data, builder, mapping, values, seoPaginate
414
414
  return renderMobileAd(index, numberOfItemsBeforeAd, rightItems);
415
415
  }
416
416
 
417
- if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && article._type && !['lg-infeed', 'brandInsightAd'].includes(article._type)) {
417
+ if ((brandInsightAd ? index > heroContent + featureCount : index + 1 > heroContent + featureCount) && (!article._type || !['lg-infeed', 'brandInsightAd'].includes(article._type))) {
418
418
  return React__default.createElement(
419
419
  VisibilitySensor,
420
420
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.438",
3
+ "version": "1.0.439",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",