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; }