other scenario fixed

This commit is contained in:
Burak Civan
2022-11-10 11:14:30 +03:00
parent 819f6587bd
commit 4a5858f724
7 changed files with 314 additions and 271 deletions

View File

@ -28,7 +28,12 @@ document.querySelectorAll("[data-table-body]").forEach((table) => {
for (let i = first_selector; i < td.length - 1; i++) {
let td_item = td[i];
td_item.addEventListener("click", () => {
td_item.addEventListener("click", (event) => {
// click disabled when preview dialog is open
if (event.target.closest('[data-tooltip-target]')) {
return;
}
// click disabled when preview dialog is open
window.location.href = row_href;
});