fix: table headers

This commit is contained in:
eneller
2025-03-20 21:51:14 +01:00
parent c728f65e73
commit 82fea63583
3 changed files with 6 additions and 4 deletions

View File

@@ -2,11 +2,12 @@
const params = new URLSearchParams(window.location.search);
const searchInput = document.getElementById('searchInput');
const table = document.getElementById('table');
const table_r = Array.from(table.getElementsByTagName('tr'));
const table_r = Array.from(table.getElementsByClassName('table-entry'));
document.addEventListener('keydown', (event)=>{
if (event.ctrlKey && event.key === 'k'){
event.preventDefault();
searchInput.focus();
searchInput.select();
}
});