diff --git a/assets/javascripts/discourse/components/adbutler-ad.js.es6 b/assets/javascripts/discourse/components/adbutler-ad.js.es6 index ab3a0a3..de63aea 100644 --- a/assets/javascripts/discourse/components/adbutler-ad.js.es6 +++ b/assets/javascripts/discourse/components/adbutler-ad.js.es6 @@ -61,10 +61,10 @@ export default AdComponent.extend({ _c++; this.divs.push({ - divId: divId, - publisherId: publisherId, - zoneId: zoneId, - dimensions: dimensions, + divId, + publisherId, + zoneId, + dimensions, }); this._super(); diff --git a/assets/javascripts/discourse/components/google-dfp-ad.js.es6 b/assets/javascripts/discourse/components/google-dfp-ad.js.es6 index 7fb27d4..0fdff20 100755 --- a/assets/javascripts/discourse/components/google-dfp-ad.js.es6 +++ b/assets/javascripts/discourse/components/google-dfp-ad.js.es6 @@ -182,7 +182,7 @@ function defineSlot( ad.addService(window.googletag.pubads()); - ads[divId] = { ad: ad, width: width, height: height }; + ads[divId] = { ad, width, height }; return ads[divId]; }