Skip to content

Commit

Permalink
Fix to display broken structural variant details.
Browse files Browse the repository at this point in the history
  • Loading branch information
stolpeo committed Feb 4, 2022
1 parent e970109 commit 3a8b0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion svs/templates/svs/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// we can't employ .click here because the html that it will work on is loaded afterwards.
$(document).on('click', '.toggle-variant-details', function() {
if ($("i", this).attr("src") === "/icons/fa-solid/chevron-right.svg") {
if ($("img", this).attr("src") === "/icons/fa-solid/chevron-right.svg") {
$($(this).data("target") + " .variant-details").load(
$(this).data("url"),
function (responseText, textStatus, request) {
Expand Down

0 comments on commit 3a8b0de

Please sign in to comment.