diff --git a/src/Resources/public/js/geocode.widget.js b/src/Resources/public/js/geocode.widget.js index f12da94..78caf86 100644 --- a/src/Resources/public/js/geocode.widget.js +++ b/src/Resources/public/js/geocode.widget.js @@ -220,7 +220,7 @@ var LeafletGeocodeWidget = L.Class.extend({ container.appendChild(okButton); container.appendChild(cancelButton); - marker.bindPopup (container, { + marker.bindPopup(container, { keepInView: true, autoPanPaddingTopLeft: this.options.bboxPadding, autoClose: false,