Remove now unneeded single quotes in examples

This commit is contained in:
Frederic Junod
2018-06-20 17:11:59 +02:00
parent ff34bb75cd
commit a8fa6e53ff
2 changed files with 7 additions and 8 deletions

View File

@@ -71,9 +71,9 @@ map.on('click', function(evt) {
const coordinates = feature.getGeometry().getCoordinates();
popup.setPosition(coordinates);
$(element).popover({
'placement': 'top',
'html': true,
'content': feature.get('name')
placement: 'top',
html: true,
content: feature.get('name')
});
$(element).popover('show');
} else {