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

Fixes issue in #89
This commit is contained in:
Lawrence Thorpe 2020-08-21 15:24:12 +01:00 committed by GitHub
parent 50788a876e
commit 8439608f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
},