summaryrefslogtreecommitdiffstats
path: root/content/index.js
blob: 8a24e3aace3d714b52fdb01cc605b4d780cde839 (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-hidden@sm-down");
headerEl.appendChild(headerSmEl);