6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
|
const toggle = document.getElementById('language-toggle');
|
||
|
toggle.addEventListener('change', (event) => {
|
||
|
window.location = toggle.value;
|
||
|
});
|
||
|
|