FIX: Amazon ads never showing
This commit is contained in:
parent
09a92f3438
commit
93af4587fa
|
@ -93,8 +93,9 @@ export default AdComponent.extend({
|
||||||
name;
|
name;
|
||||||
|
|
||||||
if (
|
if (
|
||||||
config.enabledSetting &&
|
((config.enabledSetting &&
|
||||||
!Ember.isBlank(this.siteSettings[config.enabledSetting]) &&
|
!Ember.isBlank(this.siteSettings[config.enabledSetting])) ||
|
||||||
|
config.enabledSetting === false) &&
|
||||||
(!postNumber ||
|
(!postNumber ||
|
||||||
!config.nthPost ||
|
!config.nthPost ||
|
||||||
this.isNthPost(parseInt(this.siteSettings[config.nthPost], 10)))
|
this.isNthPost(parseInt(this.siteSettings[config.nthPost], 10)))
|
||||||
|
|
Loading…
Reference in New Issue