From cb81362330effff884aed1fe798bfc522e796c87 Mon Sep 17 00:00:00 2001 From: yottalogical Date: Wed, 6 Feb 2019 15:21:39 -0500 Subject: [PATCH] Add link to blockchain explorer for Cryptoid.info (Carboncoin) --- js/coinbin.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/coinbin.js b/js/coinbin.js index c71d682..59ab879 100644 --- a/js/coinbin.js +++ b/js/coinbin.js @@ -1222,8 +1222,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(' '); }