a11y c:
This commit is contained in:
parent
c504b1e767
commit
e734b85e79
1 changed files with 2 additions and 0 deletions
|
@ -44,11 +44,13 @@ fetch(host.replace("%", "top10")).then(r => r.text()).then(r => {
|
||||||
var tr = document.createElement("tr");
|
var tr = document.createElement("tr");
|
||||||
|
|
||||||
var th = document.createElement("th");
|
var th = document.createElement("th");
|
||||||
|
th.title = "Info Hash"
|
||||||
th.textContent = "\uf4df";
|
th.textContent = "\uf4df";
|
||||||
tr.appendChild(th);
|
tr.appendChild(th);
|
||||||
|
|
||||||
for (const t of Object.keys(hashes[Object.keys(hashes)[0]])) {
|
for (const t of Object.keys(hashes[Object.keys(hashes)[0]])) {
|
||||||
var th = document.createElement("th");
|
var th = document.createElement("th");
|
||||||
|
th.title = t;
|
||||||
th.textContent = i[t.slice(0, 1).toUpperCase()];
|
th.textContent = i[t.slice(0, 1).toUpperCase()];
|
||||||
tr.appendChild(th);
|
tr.appendChild(th);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue