From 4537653465fc51627595639e4be172e83e0735b4 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Mon, 10 Mar 2025 17:27:40 +0100 Subject: [PATCH] Update src/template/module/journey/leg/top_leg.pug --- src/template/module/journey/leg/top_leg.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/template/module/journey/leg/top_leg.pug b/src/template/module/journey/leg/top_leg.pug index f5dc1e4..07c99c0 100644 --- a/src/template/module/journey/leg/top_leg.pug +++ b/src/template/module/journey/leg/top_leg.pug @@ -26,7 +26,7 @@ .text {{ element.title || "Leg "+idx}} i.fa.fa-times.text-small.fright( style="top: 2px; right: 2px; position: absolute", - @click="journey.rm_leg(idx); focus_leg(journey);" + @click="toast.delete_leg(idx, journey)" ) .list-group-item.bg-white.text-white.show.placeholder-right( :class="journey.sel_leg < journey.data.main.length-1? '': 'bg-dark'"