Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Nov 28, 2024
1 parent 0e086fe commit e80a823
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Application/views/frontend/tpl/stripecreditcard.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@
//this is a dirty fix for selecting firs card selection element so the card UI not stuck when customer
// uses the browsers history back
setTimeout(function (){
const $stripeCardDD = $stripeRadio.parents('dt').next('dd');
const $stripeUsedCardSelect = $stripeCardDD.find('#stripe_used_card');
// Reset used card selection when Stripe is selected
if ($stripeRadio.is(':checked')) {
$stripeUsedCardSelect.prop('selectedIndex', 0);
Expand Down

0 comments on commit e80a823

Please sign in to comment.