diff --git a/index.html b/index.html index b7fb8b5..784bda0 100644 --- a/index.html +++ b/index.html @@ -300,7 +300,10 @@ -

Enter a regular address or the redeem script to automatically load the inputs to build a transaction

+ +
+ +
diff --git a/js/coinbin.js b/js/coinbin.js index 2924f72..cf02ac1 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -405,7 +405,10 @@ $(document).ready(function() { var tx = coinjs.transaction(); tx.listUnspent(addr, function(data){ if(addr) { - $("#inputs .txidRemove, #inputs .txidClear").click(); + if($("#clearInputsOnLoad").is(":checked")){ + $("#inputs .txidRemove, #inputs .txidClear").click(); + } + $("#redeemFromAddress").removeClass('hidden').html(' Retrieved unspent inputs from address '+addr+''); $.each($(data).find("unspent").children(), function(i,o){