aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2020-12-28 14:25:51 -0600
committerzsloan2020-12-28 14:25:51 -0600
commitc26304ed6a2937654794f908c13ccd3ba4a66453 (patch)
tree4b74ce391616c16ef4eade76dbc9fcf7848d8721
parent0560b297a9a6139079ee237bc8d98f471e7703f5 (diff)
downloadgenenetwork2-c26304ed6a2937654794f908c13ccd3ba4a66453.tar.gz
Fix issue that caused error bars to not work for bar chart
-rw-r--r--wqflask/wqflask/static/new/javascript/show_trait.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js
index 312cc22f..6918cf34 100644
--- a/wqflask/wqflask/static/new/javascript/show_trait.js
+++ b/wqflask/wqflask/static/new/javascript/show_trait.js
@@ -448,7 +448,7 @@ edit_data_change = function() {
if (is_number(sample_val) && sample_val !== "") {
sample_val = parseFloat(sample_val);
sample_sets[table].add_value(sample_val);
- if (typeof var_nodes !== 'undefined'){
+ if (typeof var_nodes === 'undefined'){
sample_var = null;
} else {
sample_var = var_nodes[_j].childNodes[0].value
@@ -471,6 +471,7 @@ edit_data_change = function() {
}
}
}
+
}
update_stat_values(sample_sets);