mirror of
https://github.com/netzmacht/contao-leaflet-geocode-widget.git
synced 2025-12-01 13:13:39 +01:00
Fix #5: Show pointer cursor.
This commit is contained in:
@@ -25,7 +25,7 @@ $GLOBALS['TL_JAVASCRIPT'][] = 'bundles/leafletgeocodewidget/js/geocode.widget.js
|
||||
onfocus="Backend.getScrollOffset()"
|
||||
>
|
||||
|
||||
<img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle">
|
||||
<a href="#"><img src="bundles/leafletgeocodewidget/img/map.png" id="ctrl_<?= $this->id ?>_toggle"></a>
|
||||
</div>
|
||||
|
||||
<?= $this->wizard ?>
|
||||
|
||||
@@ -143,7 +143,9 @@ var LeafletGeocodeWidget = L.Class.extend({
|
||||
}
|
||||
}
|
||||
},
|
||||
_showMap: function () {
|
||||
_showMap: function (e) {
|
||||
e.stop();
|
||||
|
||||
// Create modal window.
|
||||
var content = L.Util.template(this.options.mapTemplate, this.options);
|
||||
this.modal = this._createModal();
|
||||
|
||||
Reference in New Issue
Block a user