8,981
edits
Changes
no edit summary
/* Any JavaScript here will be loaded for all users on every page load. */
function setPrivacyPolice() {
var language = document.getElementsByTagName('html')[0].getAttribute('lang');
var element = document.getElementById('footer-places-privacy').children[0];
switch(language){
case 'pt-BR':
element.setAttribute('href', 'https://wiki.taticview.com/taticfiles/Privacy_policy_pt-BR.pdf');
break;
case 'es':
element.setAttribute('href', 'https://wiki.taticview.com/taticfiles/Privacy_policy_es-ES.pdf');
break;
default:
element.setAttribute('href', 'https://wiki.taticview.com/taticfiles/Privacy_policy_en-US.pdf');
}
}();