summaryrefslogtreecommitdiffstats
path: root/content/index.js
blob: e03dec181b2d3b9708b1d4d6297962dba9ccb8c0 (plain) (blame)
1
2
3
4
5
6
var headerEl = document.querySelector(".c-hero");
var headerTemplateEl = document.getElementById("header-sm");
var headerSmEl = headerTemplateEl.content.cloneNode("true");

headerEl.classList.remove("u-dn@sm-down");
headerEl.appendChild(headerSmEl);