Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
smeijer authored Oct 4, 2023
2 parents 5876c54 + 0979b4d commit b6954e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions assets/css/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@

/* magnifying glass */
.leaflet-control-geosearch a.leaflet-bar-part:before {
top: 15px;
left: 13px;
top: 17px;
left: 15px;
width: 6px;
border-top: 2px solid #555;
transform: rotateZ(45deg);
}

.leaflet-control-geosearch a.leaflet-bar-part:after {
top: 8px;
left: 8px;
top: 10px;
left: 10px;
height: 8px;
width: 8px;
border-radius: 50%;
Expand Down Expand Up @@ -74,7 +74,7 @@
display: none;
position: absolute;
top: 0;
left: 36px;
left: 30px;
border-radius: 0 4px 4px 0;
background-color: #fff;
background-clip: padding-box;
Expand All @@ -94,7 +94,7 @@

.leaflet-geosearch-button.active .leaflet-bar-part {
border-radius: 4px 0 0 4px;
width: 36px;
width: 30px;
}

.leaflet-geosearch-button form {
Expand Down
1 change: 1 addition & 0 deletions src/SearchControl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ const Control: SearchControl = {
},

async onSubmit(query) {
this.resultList.clear();
const { provider } = this.options;

var results = [];
Expand Down
1 change: 0 additions & 1 deletion src/resultList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export default class ResultList {
}

const idx = Number(target.getAttribute('data-key'));
this.clear();
this.handleClick({ result: this.results[idx] });
};
}

0 comments on commit b6954e1

Please sign in to comment.