mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-07-07 22:02:11 +00:00
linting
This commit is contained in:
parent
8439608f17
commit
5afca0aaa1
@ -193,7 +193,11 @@ export default AdComponent.extend({
|
|||||||
|
|
||||||
@discourseComputed("isResponsive", "isFluid")
|
@discourseComputed("isResponsive", "isFluid")
|
||||||
autoAdFormat(isResponsive, isFluid) {
|
autoAdFormat(isResponsive, isFluid) {
|
||||||
return isResponsive ? (isFluid ? "fluid".htmlSafe() : "auto".htmlSafe()) : false;
|
return isResponsive
|
||||||
|
? isFluid
|
||||||
|
? "fluid".htmlSafe()
|
||||||
|
: "auto".htmlSafe()
|
||||||
|
: false;
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed("ad_width", "ad_height", "isResponsive")
|
@discourseComputed("ad_width", "ad_height", "isResponsive")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user