From 66129f676d06f889c940fdb869b489ae9d329021 Mon Sep 17 00:00:00 2001 From: Tim Lorsbach Date: Wed, 10 Jun 2026 16:19:04 +0200 Subject: [PATCH] circle adjustments --- templates/modals/objects/delete_pathway_edge_modal.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/modals/objects/delete_pathway_edge_modal.html b/templates/modals/objects/delete_pathway_edge_modal.html index a56e3137..30c82fff 100644 --- a/templates/modals/objects/delete_pathway_edge_modal.html +++ b/templates/modals/objects/delete_pathway_edge_modal.html @@ -5,8 +5,8 @@ class="modal" x-data="modalForm({ state: { selectedEdge: '', imageUrl: '' } })" @modal-opened.window=" - const links = d3.selectAll('line.highlighted'); - console.log(links); + const links = d3.selectAll('path.highlighted'); + if (!links.empty()) { const el = links.node(); const selectElement = document.getElementById('delete_pathway_edge_edges');