Commit d76c0b74 authored by Daniel Kestler's avatar Daniel Kestler

Add async loading to script

parent 5932ca8b
...@@ -23,6 +23,7 @@ prototype(Medienreaktor.CookieConsent) < prototype(Neos.Fusion:Array) { ...@@ -23,6 +23,7 @@ prototype(Medienreaktor.CookieConsent) < prototype(Neos.Fusion:Array) {
tagName = 'script' tagName = 'script'
attributes { attributes {
type = 'text/javascript' type = 'text/javascript'
async = 'true'
src = Neos.Fusion:ResourceUri { src = Neos.Fusion:ResourceUri {
path = 'resource://Medienreaktor.CookieConsent/Public/JavaScript/cookieconsent.min.js' path = 'resource://Medienreaktor.CookieConsent/Public/JavaScript/cookieconsent.min.js'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment