aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristian2016-08-17 17:01:59 +0200
committerchristian2016-08-17 17:01:59 +0200
commitabb988fca2c0c67be0bcd7108902fb3ba403d5b9 (patch)
treeb4f86cf04a764772ce35cedb4c2e3ae2cc1271e2
parentb4e1a20fd1d905701dbd0107e81d671f4f08a9f0 (diff)
downloadgenenetwork2-abb988fca2c0c67be0bcd7108902fb3ba403d5b9.tar.gz
Hide "close BD" button when returning to full view
-rw-r--r--wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee1
-rw-r--r--wqflask/wqflask/static/new/javascript/chr_lod_chart.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee b/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
index 7fec4836..8a5a3569 100644
--- a/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
+++ b/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
@@ -274,6 +274,7 @@ class Chr_Lod_Chart
$('#topchart').remove()
$('#chart_container').append('<div class="qtlcharts" id="topchart"></div>')
BD.hideButton()
+ $('#close_bd').hide();
$('#bd_container').hide()
create_lod_chart()
diff --git a/wqflask/wqflask/static/new/javascript/chr_lod_chart.js b/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
index 6603b534..bae4565d 100644
--- a/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
+++ b/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
@@ -259,6 +259,7 @@ Chr_Lod_Chart = (function() {
$('#topchart').remove();
$('#chart_container').append('<div class="qtlcharts" id="topchart"></div>');
BD.hideButton();
+ $('#close_bd').hide();
$('#bd_container').hide();
return create_lod_chart();
};