Skip to content

Commit

Permalink
implemented #91, #92
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdeep330 committed Oct 5, 2022
1 parent 60c3f2b commit ef3eb0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/js/structure.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ function showStructure(uniq_id, gpcr, chainGPCR, chainGPROT, pdbid, positions, n
slider2Attention.style.display = "block";
}
if (slider2Attention.style.display === "block") {
ATTENTION.setVisibility(true);
for (var i = 0; i < AM_POSITIONS.length; i++) {
AM_POSITIONS[i].setVisibility(true);
};
Expand All @@ -362,6 +363,7 @@ function showStructure(uniq_id, gpcr, chainGPCR, chainGPROT, pdbid, positions, n
DEPLETION.setVisibility(false);
}
else {
ATTENTION.setVisibility(false);
for (var i = 0; i < AM_POSITIONS.length; i++) {
AM_POSITIONS[i].setVisibility(false);
};
Expand Down

0 comments on commit ef3eb0f

Please sign in to comment.