ctucx.git: trainsearch

web based trip-planner, fork of https://cyberchaos.dev/yuka/trainsearch

commit 9ab9fb847f1eacb1bcc0cee1b5ddee176902578d
parent afdda8f85839903c9058a5b7b93b1a7b4413c4d0
Author: Yureka <yuka@yuka.dev>
Date: Tue, 22 Feb 2022 21:41:55 +0100

searchView fixes
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/searchView.js b/src/searchView.js
@@ -188,7 +188,7 @@ export const search = async (requestId) => {
 	});
 
 	const provider = settings.provider;
-	const isDep = !ElementById('isarr').checked;
+	const isDep = !ElementById('departure').checked;
 	let date = ElementById('date').value;
 	let time = ElementById('time').value;
 	let timestamp = '';

@@ -202,7 +202,7 @@ export const search = async (requestId) => {
 	toValue = ElementById('to').value;
 	dateValue = ElementById('date').value;
 	timeValue = ElementById('time').value;
-	isArrValue = ElementById('isarr').checked;
+	isArrValue = ElementById('arrival').checked;
 
 	if (date !== '') {
 		if (!isValidDate(date)) {
diff --git a/static/style.css b/static/style.css
@@ -801,7 +801,7 @@ form>div.history {
 	color: black;
 	text-align: center;
 	line-height: .9rem;
-	margin-top: 3px;
+	margin-top: 2px;
 }
 
 .selector label.icon-ice,