Skip to content

Commit

Permalink
1029: Change var to const
Browse files Browse the repository at this point in the history
  • Loading branch information
yepzdk committed Apr 4, 2024
1 parent efb965e commit 829c443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/themes/custom/hoeringsportal/assets/js/hide_spinner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 829c443

Please sign in to comment.