mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-26 05:27:23 +00:00
FIX: isFluid parameter for in-feed adsense units (#90)
Fixes issue in #89
This commit is contained in:
parent
50788a876e
commit
8439608f17
@ -191,8 +191,8 @@ export default AdComponent.extend({
|
|||||||
return showAd ? `adsense-${placement}`.htmlSafe() : "";
|
return showAd ? `adsense-${placement}`.htmlSafe() : "";
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed("isResponsive")
|
@discourseComputed("isResponsive", "isFluid")
|
||||||
autoAdFormat(isResponsive) {
|
autoAdFormat(isResponsive, isFluid) {
|
||||||
return isResponsive ? (isFluid ? "fluid".htmlSafe() : "auto".htmlSafe()) : false;
|
return isResponsive ? (isFluid ? "fluid".htmlSafe() : "auto".htmlSafe()) : false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user