Skip to content

Commit

Permalink
1.1.9 updated
Browse files Browse the repository at this point in the history
  • Loading branch information
PranshulGG committed Jul 14, 2024
1 parent 15c051e commit 00fe400
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/src/main/assets/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ document.addEventListener('DOMContentLoaded', () => {
searchContainer.style.display = 'block';
window.history.pushState({ SearchContainerOpen: true }, "");

removeMap()

setTimeout(()=>{
RenderSearhMap()
}, 400);
});

closeButton.addEventListener('click', () => {
Expand Down Expand Up @@ -220,12 +225,10 @@ function getWeather(city, latitude, longitude) {
setTimeout(() => {
updateMoonTrackProgress(latitude, longitude)
updateSunTrackProgress(latitude, longitude);
RenderSearhMap()

}, 500);

removeMap()


localStorage.setItem('currentLong', longitude)
localStorage.setItem('currentLat', latitude)

Expand Down Expand Up @@ -586,10 +589,8 @@ function getWeatherByCoordinates(latitude, longitude) {
setTimeout(() => {
updateMoonTrackProgress(latitude, longitude)
updateSunTrackProgress(latitude, longitude);
RenderSearhMap()
}, 500);

removeMap()

localStorage.setItem('currentLong', longitude)
localStorage.setItem('currentLat', latitude)
Expand Down

0 comments on commit 00fe400

Please sign in to comment.