This commit is contained in:
2025-03-31 12:06:01 -06:00
parent 5125612c05
commit f4f5077210
3 changed files with 24 additions and 6 deletions
+15
View File
@@ -0,0 +1,15 @@
document.addEventListener('DOMContentLoaded', function() {
const rows = document.querySelectorAll('tbody tr');
rows.forEach(row => {
row.addEventListener('click', function(event) {
// Check if the clicked element is within the non-clickable cell
if (event.target.closest('.excluded_cell')) {
return; // Do nothing if clicked inside the non-clickable cell
}
// Perform the desired action (e.g., redirect)
window.location.href = this.dataset.href; // Example redirect
});
});
});