Skip to content

Commit

Permalink
Fix js lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjw committed Apr 1, 2019
1 parent 391684d commit 978207a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/assets/onepager/js/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ $(document).ready(function() {
var from_email = $('#fromEmail').val();
var accept_tos = $('#tos').is(':checked');
var tokenAddress = (
($('#token').val()=='0x0') ?
'0x0000000000000000000000000000000000000000'
:$('#token').val());
($('#token').val() == '0x0') ?
'0x0000000000000000000000000000000000000000'
: $('#token').val());
var expires = parseInt($('#expires').val());

// derived info
Expand Down Expand Up @@ -183,7 +183,7 @@ function sendTip(email, github_url, from_name, username, amount, comments_public
check_balance_and_alert_user_if_not_enough(
tokenAddress,
amount,
'You do not have enough ' + tokenName +' to send this tip.');
'You do not have enough ' + tokenName + ' to send this tip.');

var amountInDenom = amount * 1.0 * denomFactor;
// validation
Expand Down

0 comments on commit 978207a

Please sign in to comment.