diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 92e76af03d..a8473c9582 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -857,7 +857,7 @@ var shared_iframe_fragment = ( + '' + '' + '
' ), + mounted: function () { + if (typeof this.$refs.iframe.addEventListenerBase === "function") { + // Workaround for a bug in Cookiebot's magic load event handling (see internal ticket Z#23180085) + console.log("pretix Widget is applying circumvention for a bug in Cookiebot's event handling"); + this.$refs.iframe.addEventListenerBase("load", this.iframeLoaded) + } + }, watch: { '$root.lightbox': function (newValue, oldValue) { if (newValue) {