Loading src/main/resources/templates/js/buildPC.js +3 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ async function render(event) { // create a button for that object, and store the index of the trace const objectButton = document.createElement('button'); objectButton.textContent = String(i); // text will be the index of the object //objectButton.textContent = String(i); // text will be the index of the object objectButton.textContent = object["predName"]; // text will be the index of the object objectButton.setAttribute("idx", i); objectButton.title = "Object " + String(i); objectButton.className = "myBtn"; Loading Loading
src/main/resources/templates/js/buildPC.js +3 −2 Original line number Diff line number Diff line Loading @@ -29,7 +29,8 @@ async function render(event) { // create a button for that object, and store the index of the trace const objectButton = document.createElement('button'); objectButton.textContent = String(i); // text will be the index of the object //objectButton.textContent = String(i); // text will be the index of the object objectButton.textContent = object["predName"]; // text will be the index of the object objectButton.setAttribute("idx", i); objectButton.title = "Object " + String(i); objectButton.className = "myBtn"; Loading