FIX: isFluid parameter for in-feed adsense units (#90)

Fixes issue in #89
This commit is contained in:
Lawrence Thorpe
2020-08-21 10:24:12 -04:00
committed by GitHub
parent 50788a876e
commit 8439608f17
@@ -191,8 +191,8 @@ export default AdComponent.extend({
return showAd ? `adsense-${placement}`.htmlSafe() : "";
},
@discourseComputed("isResponsive")
autoAdFormat(isResponsive) {
@discourseComputed("isResponsive", "isFluid")
autoAdFormat(isResponsive, isFluid) {
return isResponsive ? (isFluid ? "fluid".htmlSafe() : "auto".htmlSafe()) : false;
},