From 6a188c1aedd6e8d279891bfff22331d46a23ac8d Mon Sep 17 00:00:00 2001 From: Daniel Nilsson Date: Wed, 19 May 2021 08:03:59 +0200 Subject: [PATCH] Update scout/server/blueprints/variants/static/form_scripts.js Co-authored-by: Chiara Rasi --- scout/server/blueprints/variants/static/form_scripts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scout/server/blueprints/variants/static/form_scripts.js b/scout/server/blueprints/variants/static/form_scripts.js index 1b3234b26d..3393d3c743 100644 --- a/scout/server/blueprints/variants/static/form_scripts.js +++ b/scout/server/blueprints/variants/static/form_scripts.js @@ -3,7 +3,7 @@ function populateCytobands(cytobands){ var chromPosPattern = new RegExp("^(?:chr)?([1-9]|1[0-9]|2[0-2]|X|Y|MT)$"); var chrom = document.forms["filters_form"].elements["chrom"].value; var chromPos = ""; - if (typeof document.forms["filters_form"].elements["chrom_pos"] != "undefined") { + if (typeof document.forms["filters_form"].elements["chrom_pos"] !== "undefined") { chromPos=document.forms["filters_form"].elements["chrom_pos"].value; }