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