mirror of
https://github.com/discourse/discourse-adplugin.git
synced 2025-02-16 08:24:49 +00:00
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…
x
Reference in New Issue
Block a user