diff --git a/web/themes/custom/hoeringsportal/assets/js/hide_spinner.js b/web/themes/custom/hoeringsportal/assets/js/hide_spinner.js index 9fea04fa..7b6067b9 100644 --- a/web/themes/custom/hoeringsportal/assets/js/hide_spinner.js +++ b/web/themes/custom/hoeringsportal/assets/js/hide_spinner.js @@ -3,7 +3,7 @@ * Set timer for iframe. */ -var timer = setInterval(function () { +const timer = setInterval(function () { const element = document.querySelector('.node--type-hearing iframe') if (!element) { clearInterval(timer)