]> iEval git - plack-app-gruntmaster.git/blob - js/80-sidebar.js
Use const wherever possible in js/
[plack-app-gruntmaster.git] / js / 80-sidebar.js
1 $(function() {
2 if(!document.getElementById('sidebar')) {
3 const content = $('main')[0];
4 content.innerHTML = '<div class="col-md-9">' + content.innerHTML + '</div><aside id="sidebar" class="col-md-3"></aside>';
5 content.classList.add('row');
6 }
7 });
This page took 0.038634 seconds and 4 git commands to generate.