mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-13 02:21:02 +01:00
Fix bulk action redirect on click
This commit is contained in:
parent
9b0f884393
commit
14b17d2c1c
@ -211,6 +211,17 @@
|
||||
<script>
|
||||
document.addEventListener('table-loaded', () => {
|
||||
setTimeout(() => {
|
||||
const bulkActionsDiv = document.querySelector('.dropdown-menu[aria-labelledby="table-bulkActionsDropdown"]');
|
||||
|
||||
if (bulkActionsDiv) {
|
||||
const dropdownItems = bulkActionsDiv.querySelectorAll("a.dropdown-item");
|
||||
|
||||
dropdownItems.forEach(item => {
|
||||
item.style.cursor = "pointer";
|
||||
item.removeAttribute("href");
|
||||
});
|
||||
}
|
||||
|
||||
const checkboxes = document.querySelectorAll('.form-check-input');
|
||||
let lastChecked;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user