Skip to content

Commit

Permalink
BUGFIX: browser compatibility - IE11 support (part 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jobee committed Dec 7, 2020
1 parent 87aa91a commit 905140f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ document.addEventListener("DOMContentLoaded", getKlaroServiceTitles);

let tmsConsentButtons = document.querySelectorAll('[data-consent-button]');
Array.prototype.forEach.call(tmsConsentButtons, function (tmsConsentButton) {
tmsConsentButton.addEventListener('click', event => {
tmsConsentButton.addEventListener('click', function(event) {
event.preventDefault();
let serviceName = tmsConsentButton.getAttribute('data-name');
if (serviceName) {
Expand Down

0 comments on commit 905140f

Please sign in to comment.