Skip to content

Commit

Permalink
fix: hide dropdown after city select
Browse files Browse the repository at this point in the history
  • Loading branch information
istudyatuni committed Oct 14, 2023
1 parent a2601c9 commit fdeb938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/inputs/CityInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
let { lat, lon, name } = e.detail
settings.set('current_city', { lat, lon, name })
loadCityWeather(true)
showCitiesResult = false
hideDropdown()
add_search(city_name)
city_name = ''
}
Expand Down

0 comments on commit fdeb938

Please sign in to comment.