From fcbf25eaecbf1c6af3196984e3c4656c946dbc14 Mon Sep 17 00:00:00 2001 From: yottalogical Date: Wed, 6 Feb 2019 15:20:43 -0500 Subject: [PATCH] Add link to blockchain explorer for coinb.in (Bitcoin) --- js/coinbin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index b8403c8..c71d682 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1196,8 +1196,7 @@ $(document).ready(function() { success: function(data) { $("#rawTransactionStatus").html(unescape($(data).find("response").text()).replace(/\+/g,' ')).removeClass('hidden'); if($(data).find("result").text()==1){ - $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger'); - $("#rawTransactionStatus").html('txid: '+$(data).find("txid").text()); + $("#rawTransactionStatus").addClass('alert-success').removeClass('alert-danger').removeClass("hidden").html(' Txid: ' + $(data).find("txid").text() + '
View on Blockchain Explorer'); } else { $("#rawTransactionStatus").addClass('alert-danger').removeClass('alert-success').prepend(' '); }