Merge pull request #4771 from fredj/nbsp
Use innerHTML instead of innerText to populate the status element
This commit is contained in:
@@ -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)';
|
||||
|
||||
Reference in New Issue
Block a user