Skip to content

Commit

Permalink
some code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mithron committed Aug 22, 2014
1 parent 66b9acc commit 9af3ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leaflet.locationlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ L.Control.LocationList = L.Control.extend({

},

_onListChange: function () {
_onListChange: function (e) {

this._currentLocation_index = this._fullist.selectedIndex;

Expand All @@ -69,7 +69,7 @@ L.Control.LocationList = L.Control.extend({
return option;
},

_update: function () {
_update: function (e) {
// L.DomUtil.empty(this._fullist); add in 0.7.4
while (this._fullist.firstChild) {
this._fullist.removeChild(this._fullist.firstChild);
Expand Down

0 comments on commit 9af3ceb

Please sign in to comment.