Merge pull request #4771 from fredj/nbsp

Use innerHTML instead of innerText to populate the status element
This commit is contained in:
Frédéric Junod
2016-02-02 17:21:14 +01:00

View File

@@ -71,7 +71,7 @@ var changeInteraction = function() {
if (select !== null) {
map.addInteraction(select);
select.on('select', function(e) {
document.getElementById('status').innerText = ' ' +
document.getElementById('status').innerHTML = ' ' +
e.target.getFeatures().getLength() +
' selected features (last operation selected ' + e.selected.length +
' and deselected ' + e.deselected.length + ' features)';