diff --git a/site/components/CarbonAds.vue b/site/components/CarbonAds.vue index 0e05c2d39..7c3e66825 100644 --- a/site/components/CarbonAds.vue +++ b/site/components/CarbonAds.vue @@ -14,6 +14,13 @@ export default { this.$el.innerHTML = ""; this.load(); } + this.adInterval && clearInterval(this.adInterval); + this.adInterval = setInterval(()=>{ + if(!this.$el.querySelector("#carbonads")){ + this.$el.innerHTML = ""; + this.load(); + } + }, 10000); }, }, methods: {