Improved www.ttss.krakow.pl
Jacek Kowalski
2017-05-02 98ba342a2ed64d2956602eeb654020e48b728b7c
Update route table even when there are no entries
1 files modified
2 ■■■ changed files
map.js 2 ●●● patch | view | raw | blame | history
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;
        }