🐛 Fixed hoisting issue by adding let
All checks were successful
Jenkins Production Deployment

This commit is contained in:
liza-kl 2021-10-20 12:21:49 +02:00
parent ff99a7a78e
commit 12af6d3ed4

View File

@ -121,7 +121,7 @@ const toggleDarkMode = () => {
/* Dialog */ /* Dialog */
let modalContents = document.getElementsByClassName('modal-toggle') let modalContents = document.getElementsByClassName('modal-toggle')
for (content of modalContents) { for (let content of modalContents) {
content.classList.toggle("modal--dark-mode") content.classList.toggle("modal--dark-mode")
} }