Skip to content

Commit

Permalink
ui: fix Button onclick handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Nov 21, 2024
1 parent 51f7b60 commit c503c7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ui/src/routes/ConnectionDetail.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<Button
class="col-span-5 mr-6 text-lg justify-normal text-wrap text-left"
variant="link"
on:click={() => {
onclick={() => {
onClickStop(name, stopId, new Date(timestamp));
}}
>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/ItineraryList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{#each r.direct as d}
<Button
variant="link"
on:click={() => {
onclick={() => {
selectedItinerary = d;
}}
>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/StopTimes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<Button
class="font-bold"
variant="outline"
on:click={() => {
onclick={() => {
arriveBy = !arriveBy;
}}
>
Expand Down

0 comments on commit c503c7a

Please sign in to comment.