From 5094280f55b06321bd1a34ffccc26d45de6d6a12 Mon Sep 17 00:00:00 2001 From: John Nduli Date: Thu, 4 Jul 2024 17:31:01 +0300 Subject: fix: correct javascript if statement --- gn2/wqflask/templates/gsearch_gene.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3