diff options
author | zsloan | 2021-09-03 14:59:14 +0000 |
---|---|---|
committer | zsloan | 2021-09-03 14:59:14 +0000 |
commit | 8af212bc7eac5b39e8e6838df446a4003633a55e (patch) | |
tree | 76174098914f4ee96d268591d1d6c52ffcd53e08 /wqflask | |
parent | 5ebe36d5ff685e6b663b14c130606aa60b0123c2 (diff) | |
download | genenetwork2-8af212bc7eac5b39e8e6838df446a4003633a55e.tar.gz |
Fix issue that caused javascript to not work on the R/qtl mapping result page when permutations weren't used (because it wrongly expected the permutation histogram to always exist)
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/mapping_results.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html index 81eb1ba1..d446745d 100644 --- a/wqflask/wqflask/templates/mapping_results.html +++ b/wqflask/wqflask/templates/mapping_results.html @@ -529,7 +529,7 @@ }); {% endif %} - {% if mapping_method != "gemma" and mapping_method != "plink" %} + {% if mapping_method != "gemma" and mapping_method != "plink" and nperm > 0 and permChecked == "ON" %} $('#download_perm').click(function(){ perm_info_dict = { perm_data: js_data.perm_results, |