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

@@ -51,12 +51,11 @@ map.on('click', function(evt) {
$(element).popover('destroy');
popup.setPosition(coordinate);
// the keys are quoted to prevent renaming in ADVANCED mode.
$(element).popover({
'placement': 'top',
'animation': false,
'html': true,
'content': '<p>The location you clicked was:</p><code>' + hdms + '</code>'
placement: 'top',
animation: false,
html: true,
content: '<p>The location you clicked was:</p><code>' + hdms + '</code>'
});
$(element).popover('show');
});