Skip to content

Commit

Permalink
added visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
creatoxx authored Oct 12, 2023
1 parent c2118c4 commit 6971113
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions docs/SFM_StarSystems.html
Original file line number Diff line number Diff line change
Expand Up @@ -609,17 +609,6 @@
</div>
<div class="star-label">Zosma</div>
</div>
</div>
<script>
window.addEventListener('message', (event) => {
if (event.data === 'toggleStarLabels') {
const starLabels = document.querySelectorAll('.star-label');
starLabels.forEach(label => {
label.style.display = label.style.display === 'none' ? 'block' : 'none';
});
window.parent.postMessage('starLabelsToggled', '*');
}
});
</script>
</div>
</body>
</html>

0 comments on commit 6971113

Please sign in to comment.