Improved www.ttss.krakow.pl
Jacek Kowalski
2019-04-14 b6f8e3c550e6b24c340b5d46a9a311a7afe25d55
map.js
@@ -389,7 +389,7 @@
         + '?tripId=' + encodeURIComponent(feature.get('tripId'))
         + '&mode=departure'
   ).done(function(data) {
      if(!data.routeName || !data.directionText) {
      if(typeof data.old === "undefined" || typeof data.actual === "undefined") {
         return;
      }
      
@@ -415,6 +415,14 @@
         table.appendChild(tr);
      }
      
      if(all_departures.length === 0) {
         tr = document.createElement('tr');
         table.appendChild(tr);
         tr = addCellWithText(tr, lang.no_data);
         tr.colSpan = '2';
         tr.className = 'active';
      }
      markStops(stopsToMark, ttss_type, true);
      
      feature_timer = setTimeout(function() { vehicleTable(feature, table); }, ttss_refresh);