diff --git a/src/client/theme-default/components/BuySellAds.vue b/src/client/theme-default/components/BuySellAds.vue index 60e1a692..6c998b39 100644 --- a/src/client/theme-default/components/BuySellAds.vue +++ b/src/client/theme-default/components/BuySellAds.vue @@ -45,6 +45,10 @@ onMounted(() => { function load() { if (typeof _bsa !== 'undefined' && _bsa) { + const parent = document.querySelector('.bsa-cpc')! + // cleanup any existing ad to avoid them stacking + parent.innerHTML = '' + _bsa.init('default', code, `placement:${placement}`, { target: '.bsa-cpc', align: 'horizontal',