Skip to content

Commit

Permalink
Use var instead of let
Browse files Browse the repository at this point in the history
  • Loading branch information
robdekort committed May 31, 2023
1 parent 492187f commit 6d03a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/_cookie_banner.antlers.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{{ seo:scripts }}
if ($store.cookieBanner.consent && customScript{{ count }}) {
{{ script_fragments }}
let script{{ index }} = document.createElement('script')
var script{{ index }} = document.createElement('script')
{{ if type == 'script_tag' }}
script{{ index }}.src = '{{ source }}'
{{ else }}
Expand Down

0 comments on commit 6d03a93

Please sign in to comment.