diff --git a/app/assets/v2/js/grants/fund.js b/app/assets/v2/js/grants/fund.js index 11dac509fad..613a7f81743 100644 --- a/app/assets/v2/js/grants/fund.js +++ b/app/assets/v2/js/grants/fund.js @@ -84,6 +84,10 @@ $(document).ready(function() { deployedToken = new web3.eth.Contract(compiledToken.abi, data.denomination); $('#token_symbol').val($('#js-token option:selected').text()); } + if(!selected_token){ + _alert("Please select a token", 'error'); + return; + } deployedToken.methods.decimals().call(function(err, decimals) { if (err) { diff --git a/app/dashboard/templates/bounty/increase.html b/app/dashboard/templates/bounty/increase.html index 734fdd27b5f..433344ee97b 100644 --- a/app/dashboard/templates/bounty/increase.html +++ b/app/dashboard/templates/bounty/increase.html @@ -90,13 +90,13 @@