VC Sidebars

var langSectionAnchors = document.querySelectorAll("#polylang-7 a"); var langSwitchHeader = document.querySelectorAll(".langSwitchHeader"); langSectionAnchors.forEach(function(langAnchor, index) { langAnchor.textContent = langAnchor.textContent.slice(0, 2); langSwitchHeader[index].append(langAnchor); });
Translate »