mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Widget: Fix opening voucher redemption page in widget
This commit is contained in:
@@ -456,7 +456,7 @@ var shared_methods = {
|
|||||||
this.$root.error_message = null;
|
this.$root.error_message = null;
|
||||||
this.$root.error_url_after = null;
|
this.$root.error_url_after = null;
|
||||||
},
|
},
|
||||||
redeem: function () {
|
redeem: function (event) {
|
||||||
if (this.$root.useIframe) {
|
if (this.$root.useIframe) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user