aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/snp_browser.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/snp_browser.html b/wqflask/wqflask/templates/snp_browser.html
index c7923be6..284a371a 100644
--- a/wqflask/wqflask/templates/snp_browser.html
+++ b/wqflask/wqflask/templates/snp_browser.html
@@ -226,8 +226,8 @@
<script type='text/javascript'>
var empty_columns = {{ empty_columns|safe }};
- var remain_field_count = {{ 15 - empty_field_count }};
- var total_field_count = {{ 15 - empty_field_count }} + {{ allele_list|length }};
+ var remain_field_count = 15 - {{ empty_field_count|safe }};
+ var total_field_count = 15 - {{ empty_field_count|safe }} + {{ allele_list|safe|length }};
</script>
<script language="javascript">