Skip to content

Commit

Permalink
Merge pull request #5266 from thelostone-mc/new
Browse files Browse the repository at this point in the history
chore: remove on blur event for amount update
  • Loading branch information
thelostone-mc authored Sep 30, 2019
2 parents 18a0352 + b793d77 commit 4fa12ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/assets/v2/js/pages/new_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -312,11 +312,10 @@ $(function() {

// fetch issue URL related info
$('input[name=amount]').keyup(setUsdAmount);
$('input[name=amount]').blur(setUsdAmount);
$('input[name=usd_amount]').keyup(usdToAmount);
$('input[name=usd_amount]').blur(usdToAmount);
$('input[name=hours]').keyup(setUsdAmount);
$('input[name=hours]').blur(setUsdAmount);

$('input[name=amount]').on('change', function() {
const amount = $('input[name=amount]').val();

Expand Down

0 comments on commit 4fa12ca

Please sign in to comment.