Skip to content

Commit

Permalink
fix animation vis toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
tpmccauley committed Jun 16, 2023
1 parent fd00baa commit 8b08d29
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions js/tree-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,11 @@ ispy.showObject = function(key, view, show) {
obj.visible = show;
ispy.disabled[key] = !show;

document.getElementById(key).checked = show;

let elem = document.getElementById(key);

if ( elem !== null )
elem.checked = show;

}

};
Expand Down

0 comments on commit 8b08d29

Please sign in to comment.