Skip to content

Commit

Permalink
Update scout/server/blueprints/variants/static/form_scripts.js
Browse files Browse the repository at this point in the history
Co-authored-by: Chiara Rasi <[email protected]>
  • Loading branch information
dnil and northwestwitch authored May 19, 2021
1 parent f7cd919 commit 6a188c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scout/server/blueprints/variants/static/form_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6a188c1

Please sign in to comment.