From ee6f0fc03de6ee169e79395b443681e1f150ecce Mon Sep 17 00:00:00 2001 From: Dylan Wilson Date: Wed, 6 Mar 2019 16:24:05 +0900 Subject: [PATCH] Fix js lint errors --- app/assets/onepager/js/send.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/assets/onepager/js/send.js b/app/assets/onepager/js/send.js index 4f61fcfde15..9fae3b44793 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