2021-05-10 22:22:32 +02:00
|
|
|
function cambiarCSS(nuevo){
|
2021-05-11 10:11:10 +02:00
|
|
|
let highContrast;
|
|
|
|
|
|
|
|
if(highContrast === true){
|
|
|
|
highContrast = false;
|
|
|
|
} else {
|
|
|
|
highContrast = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
//window.location.href += "?highContrast=" + highContrast;
|
2021-05-10 22:22:32 +02:00
|
|
|
document.getElementById('estilo').setAttribute('href', nuevo);
|
|
|
|
}
|