Skip to content

Commit

Permalink
add jns to contractx tool
Browse files Browse the repository at this point in the history
  • Loading branch information
hmisty committed Jan 11, 2024
1 parent 1f52e90 commit 13b1731
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1,812 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@
$("#connAddrFooter")[0].innerHTML = 'wallet connected: ' + addr;
$("#connAddr")[0].innerHTML = addr.substr(0,6) + '...' + addr.substr(-4);
$("#connLink").attr('onclick', '');
$("#connLink").attr('href', '/address/' + addr);
$("#connLink").attr('href', '/#/address/' + addr);

getAddressJNS(addr, function (jns_info) {
if (jns_info) {
$("#connAddr")[0].innerHTML = '<img height="14px" src="' + jns_info.image + '" />';
$("#connLink").attr('onclick', '');
$("#connLink").attr('href', '/did/' + jns_info.description); // "description" is a legacy naming... sorry.
$("#connLink").attr('href', '/#/did/' + jns_info.description); // "description" is a legacy naming... sorry.
}
});

Expand Down
Loading

0 comments on commit 13b1731

Please sign in to comment.