Skip to content

Commit

Permalink
Update ui.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenasandoval88 committed Sep 12, 2024
1 parent cbd65e1 commit 20ccd4b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions sdk/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ const ui = async function (targetDiv) {

document.getElementById("prsButton1").addEventListener("click", async function (e) {
console.log("loading.......")
var plotDiv = document.createElement("div");
plotDiv.id = "plotDiv"
plotDiv.innerHTML = "Loading..."

UserDiv.appendChild(plotDiv);
// DROPDOWN 23andme users ///////////////////////////////////////////////////////////

const phenotypeLabel = document.getElementById("userSelect").value //e.target.value
Expand Down Expand Up @@ -155,9 +159,7 @@ const ui = async function (targetDiv) {
// prsDt.pgs.category = category
// // if prs qc failes for one user, remove the connected pgs entry
console.log("results: ", prsDt)
// var plotDiv = document.createElement("div");
// plotDiv.id = "plotDiv"
// div2.appendChild(plotDiv);

});

// document.getElementById("prsButton").addEventListener("click", async (e) => {
Expand Down

0 comments on commit 20ccd4b

Please sign in to comment.