remove selectedStopItem css class onFeatureUnselect
This commit is contained in:
parent
feadf4b110
commit
ae76b5cdd1
|
@ -327,6 +327,7 @@ var API_BASE = "/1.0/",
|
||||||
'coordinates': [e.feature.geometry.x, e.feature.geometry.y]
|
'coordinates': [e.feature.geometry.x, e.feature.geometry.y]
|
||||||
};
|
};
|
||||||
var $form = getStopForm(stop, geom);
|
var $form = getStopForm(stop, geom);
|
||||||
|
$('.selectedStopItem').removeClass("selectedStopItem");
|
||||||
$('#stopForm').remove();
|
$('#stopForm').remove();
|
||||||
$('#formCol').empty();
|
$('#formCol').empty();
|
||||||
$('#formCol').append($form);
|
$('#formCol').append($form);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user