Fix Carbon

This commit is contained in:
Tim Condon 2022-08-01 17:26:29 +01:00 committed by GitHub
parent 59ca0f91c8
commit a2c3533b84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,9 +1,9 @@
// data-md-component="toc"
document.addEventListener("DOMContentLoaded", function(event) {
var toc_inner = document.querySelectorAll('[data-md-component=toc] .md-sidebar__inner')[0];
var toc_inner = document.querySelectorAll('[data-md-component=toc]')[0];
var script = document.createElement("script");
script.src = '//cdn.carbonads.com/carbon.js?serve=CK7DT2QW&placement=vaporcodes';
script.type = 'text/javascript';
script.id = '_carbonads_js';
toc_inner.appendChild(script);
});
});