Skip to content

Commit

Permalink
fix cleanup for loci names
Browse files Browse the repository at this point in the history
  • Loading branch information
bridgetknight committed May 23, 2024
1 parent 1df5453 commit b2fce76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@
const imgTitle = document.getElementById("img_title");
let lociNames = document.querySelector("meta[name='loci_names']").content;
lociNames = lociNames.slice(1, -1).split(",");
lociNames = lociNames.map(str => str.replace("'", ""));
lociNames = lociNames.map(str => str.replace(/'/g, ""));

mainPhoto.addEventListener("click", function() {
this.classList.remove("normal");
Expand Down

0 comments on commit b2fce76

Please sign in to comment.