Skip to content

Commit

Permalink
Use innerHTML instead of innerText to populate the status element
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Feb 2, 2016
1 parent 7b202c4 commit 6c2302f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/select-features.js
Expand Up @@ -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)';
Expand Down

0 comments on commit 6c2302f

Please sign in to comment.