From 98ba342a2ed64d2956602eeb654020e48b728b7c Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Tue, 02 May 2017 16:13:12 +0000
Subject: [PATCH] Update route table even when there are no entries

---
 map.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/map.js b/map.js
index d5e037e..b543fb4 100644
--- a/map.js
+++ b/map.js
@@ -258,7 +258,7 @@
 			+ '?tripId=' + encodeURIComponent(tripId)
 			+ '&mode=departure'
 	).done(function(data) {
-		if(!data.routeName || !data.directionText || data.old.length + data.actual.length == 0) {
+		if(!data.routeName || !data.directionText) {
 			return;
 		}
 		

--
Gitblit v1.9.1