Skip to content

Commit

Permalink
Select input's text when expanded. Closes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
perliedman committed Feb 16, 2014
1 parent 02e30c0 commit 72a1f6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Control.Geocoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@

_expand: function () {
L.DomUtil.addClass(this._container, 'leaflet-control-geocoder-expanded');
this._input.select();
},

_collapse: function () {
Expand Down

0 comments on commit 72a1f6b

Please sign in to comment.