From 20ccd4b3b327c36f7efc1721f9a2356e64f8ec38 Mon Sep 17 00:00:00 2001 From: lorenasandoval88 <43822820+lorenasandoval88@users.noreply.github.com> Date: Thu, 12 Sep 2024 14:43:02 -0400 Subject: [PATCH] Update ui.js --- sdk/ui.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sdk/ui.js b/sdk/ui.js index 67b8be2..16eb3d3 100644 --- a/sdk/ui.js +++ b/sdk/ui.js @@ -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 @@ -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) => {