diff options
author | zsloan | 2020-12-28 14:25:51 -0600 |
---|---|---|
committer | zsloan | 2020-12-28 14:25:51 -0600 |
commit | c26304ed6a2937654794f908c13ccd3ba4a66453 (patch) | |
tree | 4b74ce391616c16ef4eade76dbc9fcf7848d8721 /wqflask | |
parent | 0560b297a9a6139079ee237bc8d98f471e7703f5 (diff) | |
download | genenetwork2-c26304ed6a2937654794f908c13ccd3ba4a66453.tar.gz |
Fix issue that caused error bars to not work for bar chart
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 3 |
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); |