Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Add two more tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 25, 2024
1 parent 56d19f2 commit bb7916a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ <h3>Report</h3>
tds[depth].textContent = label
tds[depth].title = predicate
tds[depth + 1].textContent = determineLabelForObjectValue(objectOrArray)
tds[depth + 1].title = objectOrArray
tds[depth + 1].addEventListener("click", async function() {
let input = prompt(`Enter new value for ${label}`)
if (input !== null) {
Expand All @@ -414,6 +415,7 @@ <h3>Report</h3>
for (let arrayElement of objectOrArray) {
let tds = buildRowAndColumns(table)
tds[depth].textContent = dfShortUriToLabel(predicate)
tds[depth].title = predicate
// this will delete all array elements of the same type at the moment TODO fix
buildRemovalCell(tds[maxDepth + 2], subject, predicate)
buildProfileTableRecursively(arrayElement, depth + 1, table)
Expand Down

0 comments on commit bb7916a

Please sign in to comment.