Skip to content

Commit 75425b6

Browse files
committed
fixed ads show algorithm
1 parent fc371ed commit 75425b6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

script/component/MainPage.js

+7
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,13 @@ const MainPage = {
105105
methods: {
106106
goToLink: function () {
107107
window.scrollTo(0, 0);
108+
109+
var scriptEl = document.createElement('script');
110+
scriptEl.setAttribute('src', '//cdn.carbonads.com/carbon.js?serve=CK7DL53W&placement=typeormio');
111+
scriptEl.setAttribute('id', '_carbonads_js');
112+
scriptEl.setAttribute('async', null);
113+
this.$refs.carbon.innerHTML = ''
114+
this.$refs.carbon.appendChild(scriptEl);
108115
},
109116
changeLang: function (locale) {
110117
$cookies.set("locale", locale);

0 commit comments

Comments
 (0)