aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-03 13:01:15 +0300
committerzsloan2022-01-29 00:42:44 -0600
commitb054be4025c74cb574ed035ac99a15ccf010005d (patch)
treef984a2dd571523287f88c8bb92d1f8a9a03f09ce
parentbfc3d9483ec97c8ed70034f2de4a3ec414e402b4 (diff)
downloadgenenetwork2-b054be4025c74cb574ed035ac99a15ccf010005d.tar.gz
Hide template row instead of deleting it
-rw-r--r--wqflask/wqflask/static/new/javascript/partial_correlations.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/partial_correlations.js b/wqflask/wqflask/static/new/javascript/partial_correlations.js
index dea4c675..1768b4b9 100644
--- a/wqflask/wqflask/static/new/javascript/partial_correlations.js
+++ b/wqflask/wqflask/static/new/javascript/partial_correlations.js
@@ -205,7 +205,8 @@ function display_probeset_results(primary, controls, correlations) {
).innerHTML = format_number(item["tissue_p_value"]);
table_body.appendChild(new_row);
});
- table_body.removeChild(template_row);
+ template_row.setAttribute("display", "none");
+ /*table_body.removeChild(template_row);*/
}
function display_partial_corr_results(data, status, xhr) {