Widget: Fix opening voucher redemption page in widget

This commit is contained in:
Raphael Michel
2018-08-09 16:07:25 +02:00
parent 79e6216669
commit 446c7ffd6a

View File

@@ -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 {