From d79cf9014a627047a383529b27f8ea323e9295cb Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 24 Aug 2026 13:23:47 +0200 Subject: [PATCH] fix double subevent-ID in URL --- src/pretix/static/pretixpresale/widget/src/sharedStore.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pretix/static/pretixpresale/widget/src/sharedStore.ts b/src/pretix/static/pretixpresale/widget/src/sharedStore.ts index 00d36c02f..6de87c28d 100644 --- a/src/pretix/static/pretixpresale/widget/src/sharedStore.ts +++ b/src/pretix/static/pretixpresale/widget/src/sharedStore.ts @@ -510,10 +510,6 @@ export function createWidgetStore (config: { // button with subevent but no items redirectUrl += `${this.subevent}/` } - if (this.subevent && !this.cartId) { - // button with subevent but no items - redirectUrl += `${this.subevent}/` - } redirectUrl += `?iframe=1&locale=${LANG}` if (this.cartId) { // ajax to make sure the cart-id is used, even if the cart is currently empty