diff --git a/app/assets/onepager/js/send.js b/app/assets/onepager/js/send.js index aa2d01fff3e..e53e4391a4e 100644 --- a/app/assets/onepager/js/send.js +++ b/app/assets/onepager/js/send.js @@ -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 @@ -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