aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-08-17 18:35:29 +0000
committerzsloan2021-08-19 18:38:54 +0000
commit9f3baccf902caff4338c72c508bfab52b472bc3a (patch)
treeb86e9324b2047b2f3adffa3cefc9363cef3dd800 /wqflask
parent5c879337593366005d07f390b8e0da901ec23881 (diff)
downloadgenenetwork2-9f3baccf902caff4338c72c508bfab52b472bc3a.tar.gz
After removing all cofactors, return the size of the select element to 2
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 81c52ff6..99397c8e 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -142,6 +142,7 @@ $(".remove_all_covariates").click(function() {
$(".selected-covariates option").each(function() {
$(this).remove();
});
+ $(".selected-covariates").attr("size", 2)
$("input[name=covariates]").val("");
})