Skip to content

Commit

Permalink
Fix active currency highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
marksteward committed Jan 24, 2024
1 parent 3dba199 commit 28c3715
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/tickets/choose.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
$('.amount').on('change', EMF.update_total).change();
$('[name=set_currency]').on('click', function(event) {
$(this).closest('.btn-group').find('.btn').not(this).removeClass('active');
$(this).addClass('active')
$('#currency_code').val($(this).attr('value'));
EMF.update_currency();
EMF.update_total();
Expand Down

0 comments on commit 28c3715

Please sign in to comment.