Skip to content

Commit 12193af

Browse files
authored
Collapse search result on iOS devices (#271)
* Add touchend event for iOS devices
1 parent 94c5251 commit 12193af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export var Geocoder = L.Control.extend({
267267
this._geocodeResultSelected(result);
268268
L.DomEvent.on(
269269
li,
270-
'click',
270+
'click touchend',
271271
function() {
272272
if (this.options.collapsed) {
273273
this._collapse();

0 commit comments

Comments
 (0)