Sha256: 3a5ea24786fc9a5bbe48f240192aadeed49506369b5630613215fd0179bd2203
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
<script type="text/javascript"> function goToSparesUrl(){ esMxUrl = '{{ site.data.menus.common[0].spares.esMxUrl }}' enUsUrl = '{{ site.data.menus.common[0].spares.enUsUrl }}' ptBrUrl = '{{ site.data.menus.common[0].spares.ptBrUrl }}' currentLang = document.getElementsByTagName("html")[0].getAttribute("lang"); if (currentLang == 'en') { window.location.href = enUsUrl; } else if (currentLang == 'es') { window.location.href = esMxUrl; } else { window.location.href = ptBrUrl; } } </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-marketing-1.0.1 | _includes/components/navbars/progressive.js |
jekyll-theme-marketing-1.0.0 | _includes/components/navbars/progressive.js |