aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-11-12 06:59:28 +0000
committerzsloan2021-11-12 06:59:28 +0000
commit50580bf1d8114c8cc0fafb429232fa29fab10415 (patch)
treec37ba7c9987f3c63dd0354a85e388ed2b4c84849 /wqflask
parent166bca11dee1a09d346c4bd72edbf51832f13820 (diff)
downloadgenenetwork2-50580bf1d8114c8cc0fafb429232fa29fab10415.tar.gz
Added check for too_many_results before writing the table JS
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/search_result_page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/search_result_page.html b/wqflask/wqflask/templates/search_result_page.html
index 95842316..dade6ba5 100644
--- a/wqflask/wqflask/templates/search_result_page.html
+++ b/wqflask/wqflask/templates/search_result_page.html
@@ -176,7 +176,7 @@
return params;
};
- {% if results|count > 0 %}
+ {% if results|count > 0 and not too_many_results %}
var tableId = "trait_table";
var width_change = 0; //ZS: For storing the change in width so overall table width can be adjusted by that amount