Skip to content

Commit

Permalink
Fix homepage controller list collapse display
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Jan 20, 2025
1 parent 0cf77a5 commit 048080e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vzdv-site/templates/homepage/home.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
document.getElementById('btn-online').addEventListener('click', () => {
const table = document.querySelector('#online > table');
if (table.style.display === 'none') {
table.style.display = 'block';
document.querySelector('#online i#i-collapse').style.display = 'block';
table.style.display = 'table';
document.querySelector('#online i#i-collapse').style.display = 'table';
document.querySelector('#online i#i-expand').style.display = 'none';
} else {
table.style.display = 'none';
document.querySelector('#online i#i-collapse').style.display = 'none';
document.querySelector('#online i#i-expand').style.display = 'block';
document.querySelector('#online i#i-expand').style.display = 'table';
}
});
}
Expand Down

0 comments on commit 048080e

Please sign in to comment.