From 81a831b4c5f8040a32369cc74fe92d0718c77afd Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 3 Feb 2025 12:22:35 +0100 Subject: [PATCH] fix opt-param default --- src/pretix/static/pretixpresale/js/widget/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/static/pretixpresale/js/widget/widget.js b/src/pretix/static/pretixpresale/js/widget/widget.js index 4cafd38dac..af62b15380 100644 --- a/src/pretix/static/pretixpresale/js/widget/widget.js +++ b/src/pretix/static/pretixpresale/js/widget/widget.js @@ -1804,7 +1804,7 @@ var shared_root_methods = { } }); }, - reload: function (opt) { + reload: function (opt = {}) { var url; if (this.$root.is_button) { return;