Fix issues found by eslint

This commit is contained in:
Tom Hughes 2019-04-01 21:33:33 +01:00
parent 62dff6ab7f
commit 1f13321a60
6 changed files with 28 additions and 31 deletions

View file

@ -55,6 +55,8 @@ OSM.Search = function(map) {
});
});
var markers = L.layerGroup().addTo(map);
function clickSearchMore(e) {
e.preventDefault();
e.stopPropagation();
@ -115,8 +117,6 @@ OSM.Search = function(map) {
e.stopPropagation();
}
var markers = L.layerGroup().addTo(map);
var page = {};
page.pushstate = page.popstate = function(path) {