From 063131056e59d006703615248fe66ceb6fe507bf Mon Sep 17 00:00:00 2001 From: Spythere Date: Mon, 24 Jan 2022 18:55:21 +0100 Subject: [PATCH] =?UTF-8?q?Dodano=20otwieranie=20w=C4=85tku=20forum=20ze?= =?UTF-8?q?=20sceneri=C4=85=20z=20poziomu=20tabelki=20scenerii?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SceneryView/SceneryTimetable.vue | 3 ++- src/components/StationsView/StationTable.vue | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/SceneryView/SceneryTimetable.vue b/src/components/SceneryView/SceneryTimetable.vue index 37f4a18..1db7ec2 100644 --- a/src/components/SceneryView/SceneryTimetable.vue +++ b/src/components/SceneryView/SceneryTimetable.vue @@ -65,7 +65,7 @@ - + {{ scheduledTrain.stopInfo.arrivalTimeString }} ({{ scheduledTrain.stopInfo.arrivalDelay }}) + diff --git a/src/components/StationsView/StationTable.vue b/src/components/StationsView/StationTable.vue index 9fa86da..c381e85 100644 --- a/src/components/StationsView/StationTable.vue +++ b/src/components/StationsView/StationTable.vue @@ -37,8 +37,10 @@ class="station" v-for="(station, i) in stations" :key="i + station.name" - @click="() => setScenery(station.name)" + @click.left="setScenery(station.name)" + @click.right="openForumSite($event, station.generalInfo?.url)" @keydown.enter="setScenery(station.name)" + @keydown.space="openForumSite($event, station.generalInfo?.url)" tabindex="0" > -