jr: pubkey in popup has link to explorer
This commit is contained in:
+5
-4
@@ -118,12 +118,13 @@ pi_repop
|
||||
let addr_li = document.createElement('li');
|
||||
addr_li.innerHTML = 'Addr: ';
|
||||
|
||||
let addr_span = document.createElement('span');
|
||||
addr_span.style.fontSize = 'xx-small';
|
||||
addr_span.innerHTML = this_rkp.akstr;
|
||||
let addr_a = document.createElement('a');
|
||||
addr_a.href = 'https://explorer.qpq.swiss/accounts/' + this_rkp.akstr;
|
||||
addr_a.style.fontSize = 'xx-small';
|
||||
addr_a.innerHTML = this_rkp.akstr;
|
||||
|
||||
// add everything inside-out
|
||||
addr_li.appendChild(addr_span);
|
||||
addr_li.appendChild(addr_a);
|
||||
rkp_ul.appendChild(addr_li);
|
||||
rkp_ul.appendChild(name_li);
|
||||
this_li.appendChild(rkp_ul);
|
||||
|
||||
Reference in New Issue
Block a user