from view-source:https://www.healthcare.gov/ lines 1538 - 1551
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// What? | |
if ('en' == 'es') { | |
langCode = 'es_MX'; | |
var url = window.location.href.replace('cuidadodesalud.gov','healthcare.gov').replace('/es/','/'); | |
$('.span1 a.btn-mini.btn-lang, #header .lang').removeClass('nodisplay').attr('href', url); | |
} | |
// What what? | |
if ('en' == 'en') { | |
langCode = 'en_US'; | |
if (''.length > 0) { | |
var url = window.location.href.replace('','/es'); | |
} else { | |
var url = window.location.protocol + '//' + window.location.host + '/es' + window.location.pathname + window.location.hash; | |
} | |
$('.span1 a.btn-mini.btn-lang, #header .lang').removeClass('nodisplay').attr('href', url); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment