You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue might be somehow related to #273
But i´m having this error in every browser i tested (Firefox, Chrome) not only in IE11
And yes, the problem is that klaro library is not in its own script tag but bundled with other js files in a single script tag, thats why it cannot determine which is the "currentScript", it still might be worth to check for the src attribute as it will also fail if theres a script tag with a body/ without src attribute occuring before the klaro script
The text was updated successfully, but these errors were encountered:
I´m getting error
Uncaught TypeError: r.src
when having
within my html and aggregate the klaro library with other js libraries (Drupal javascript aggregation)
The error can be supressed by checking for existence of src attribute in:
https://github.com/klaro-org/privacy-manager/blob/d2f8418ede6b7706090fd0d746a5bb0046772d45/src/utils/compat.js#L9
e.g
script.src && script.src.includes(name)
This issue might be somehow related to #273
But i´m having this error in every browser i tested (Firefox, Chrome) not only in IE11
And yes, the problem is that klaro library is not in its own script tag but bundled with other js files in a single script tag, thats why it cannot determine which is the "currentScript", it still might be worth to check for the src attribute as it will also fail if theres a script tag with a body/ without src attribute occuring before the klaro script
The text was updated successfully, but these errors were encountered: