diff --git a/assets/javascripts/discourse/components/ad-slot.js.es6 b/assets/javascripts/discourse/components/ad-slot.js.es6 index 2cc4534..e4f1ab6 100644 --- a/assets/javascripts/discourse/components/ad-slot.js.es6 +++ b/assets/javascripts/discourse/components/ad-slot.js.es6 @@ -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)))