Skip to content

Commit 19effd0

Browse files
committed
update site
1 parent 466ea96 commit 19effd0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

site/components/CarbonAds.vue

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ export default {
1414
this.$el.innerHTML = "";
1515
this.load();
1616
}
17+
this.adInterval && clearInterval(this.adInterval);
18+
this.adInterval = setInterval(()=>{
19+
if(!this.$el.querySelector("#carbonads")){
20+
this.$el.innerHTML = "";
21+
this.load();
22+
}
23+
}, 10000);
1724
},
1825
},
1926
methods: {

0 commit comments

Comments
 (0)