Use bootstrap 4.5.0 in all examples

This commit is contained in:
Maximilian Krög
2020-07-27 20:15:55 +02:00
parent cad5057a96
commit 594ba4a0ab
8 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -107,7 +107,7 @@ map.on('click', function (evt) {
const feature = map.forEachFeatureAtPixel(evt.pixel, function (feature) {
return feature;
});
$(element).popover('destroy');
$(element).popover('dispose');
if (feature) {
const coordinates = feature.getGeometry().getCoordinates();
popup.setPosition(coordinates);
@@ -124,7 +124,7 @@ map.on('click', function (evt) {
// change mouse cursor when over marker
map.on('pointermove', function (e) {
if (e.dragging) {
$(element).popover('destroy');
$(element).popover('dispose');
return;
}
const pixel = map.getEventPixel(e.originalEvent);