From 8e8d1b5a94f6a544d928ab135c7de4646bfe2d7c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Jan 2022 13:01:15 +0300 Subject: Hide template row instead of deleting it --- wqflask/wqflask/static/new/javascript/partial_correlations.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3