implemented spaces, fixed login and signup, thought creation and space creation.
This commit is contained in:
@@ -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
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user