mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-15 18:40:40 +00:00
Bug fixes
This commit is contained in:
@ -135,9 +135,11 @@
|
||||
<script>
|
||||
let languageSwitch = document.querySelector('#terms-of-use-modal-switch');
|
||||
let termsOfUseContent = document.querySelectorAll('.terms-of-use-modal-content');
|
||||
languageSwitch.addEventListener('change', function() {
|
||||
termsOfUseContent.forEach(content => {
|
||||
content.classList.toggle('hide');
|
||||
if (languageSwitch) {
|
||||
languageSwitch.addEventListener('change', function() {
|
||||
termsOfUseContent.forEach(content => {
|
||||
content.classList.toggle('hide');
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user