Improved www.ttss.krakow.pl
Jacek Kowalski
2019-07-05 4185fa37d3a5a7b52049089507d5a5b0a489ac68
Remove redundant featureClicked calls without an argument
1 files modified
3 ■■■■ changed files
map.js 3 ●●●● patch | view | raw | blame | history
map.js
@@ -344,7 +344,7 @@
                if(vehicle_feature) {
                    vehicles_source[prefix].removeFeature(vehicle_feature);
                    if(feature_clicked && feature_clicked.getId() === vehicle_feature.getId()) {
                        featureClicked();
                        panel.close();
                    }
                }
                continue;
@@ -747,7 +747,6 @@
    var feature = features[0];
    
    if(features.length > 1) {
        featureClicked();
        panel.show(listFeatures(features));
        return;
    }