mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Try to fix widget bug in IE introduced in ebb1cc1be
This commit is contained in:
@@ -225,10 +225,10 @@ Vue.component('availbox', {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
amount_selected: {
|
amount_selected: {
|
||||||
get() {
|
get: function () {
|
||||||
return this.item.has_variations ? this.variation.amount_selected : this.item.amount_selected
|
return this.item.has_variations ? this.variation.amount_selected : this.item.amount_selected
|
||||||
},
|
},
|
||||||
set(value) {
|
set: function (value) {
|
||||||
// Unary operator to force boolean to integer conversion, as the HTML form submission
|
// Unary operator to force boolean to integer conversion, as the HTML form submission
|
||||||
// needs the value to be integer for all products.
|
// needs the value to be integer for all products.
|
||||||
value = (+value);
|
value = (+value);
|
||||||
|
|||||||
Reference in New Issue
Block a user