Skip to content

Commit ddb77b2

Browse files
author
Daniel Sloof
committed
prevent double shipping method selection
There already is a click handler on the <tr>, so there is no need to put it on the radio input. This prevents selectShippingMethod from being executed twice. For more information, see issue #5814. Closes #5814.
1 parent cac91b5 commit ddb77b2

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/Checkout/view/frontend/web/template

1 file changed

+1
-2
lines changed

app/code/Magento/Checkout/view/frontend/web/template/shipping.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@
9898
attr: {
9999
'id': 's_method_' + method.carrier_code + '_' + method.method_code,
100100
'aria-labelledby': 'label_method_' + method.method_code + '_' + method.carrier_code + ' ' + 'label_carrier_' + method.method_code + '_' + method.carrier_code
101-
},
102-
click: $parent.selectShippingMethod"
101+
}"
103102
class="radio"/>
104103
<!--/ko-->
105104
<!-- /ko -->

0 commit comments

Comments
 (0)