<commit_before>$ ->
  $('#add-payment-method-fee').on 'click', ->
    id = new Date().getTime()
    html = $(this).data('form').replace(/XYZ/g, id )
    $('#payment-methods').append(html)

  $('.remove-payment-method-fee').on 'click', ->
    $(this).prev('input[type=hidden]').val(1)
    $(this).closest('.currency-fields').hide()

<commit_msg>fix remove payment method js<commit_after>$ ->
  $('#add-payment-method-fee').on 'click', ->
    id = new Date().getTime()
    html = $(this).data('form').replace(/XYZ/g, id )
    $('#payment-methods').append(html)

  $('.container').on 'click', '.remove-payment-method-fee', ->
    $(this).prev('input[type=hidden]').val(1)
    $(this).closest('.currency-fields').hide()


{'fraction_non_alphanumeric': 0.26778242677824265, 'fraction_numerical': 0.002789400278940028, 'mean_word_length': 3.8187919463087248, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7389072', 'n_tokens_mistral': 246, 'n_tokens_neox': 244, 'n_words': 33}