Improved www.ttss.krakow.pl
Jacek Kowalski
2018-11-06 11916a39859ae676cf7943368f9facfafb43891d
map.js
@@ -170,7 +170,7 @@
         if(vehicle.isDeleted) {
            if(vehicle_feature) {
               vehicles_source.removeFeature(vehicle_feature);
               if(feature_clicked.getId() == vehicle_feature.getId()) {
               if(feature_clicked && feature_clicked.getId() === vehicle_feature.getId()) {
                  featureClicked();
               }
            }
@@ -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;
      }