about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Nduli2024-07-04 17:31:01 +0300
committerBonfaceKilz2024-07-05 14:39:17 +0300
commit5094280f55b06321bd1a34ffccc26d45de6d6a12 (patch)
tree465cb3cf89842f8a10b622ca54207f00c8e2df4e
parent187e87dfde67aa82cf59d91d6657f1fd48724982 (diff)
downloadgenenetwork2-5094280f55b06321bd1a34ffccc26d45de6d6a12.tar.gz
fix: correct javascript if statement
-rw-r--r--gn2/wqflask/templates/gsearch_gene.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html
index ffab9b8c..c5575699 100644
--- a/gn2/wqflask/templates/gsearch_gene.html
+++ b/gn2/wqflask/templates/gsearch_gene.html
@@ -259,7 +259,7 @@
                 {% endif %}
             }
             
-            if traitsJson.length > 0 {
+            if (traitsJson.length > 0) {
               create_table(tableId, traitsJson, columnDefs, tableSettings);
             }