mirror of
https://github.com/PranshulGG/WeatherMaster.git
synced 2026-10-21 18:43:03 -05:00
1.2.4 updated
This commit is contained in:
1 parent
27b9e49434
commit
51d9d9e7cd
1 file changed
+2
-2
@@ -319,7 +319,7 @@ function getWeather(city, latitude, longitude) {
|
||||
document.getElementById('AmountRainMM').innerHTML = `0.0 mm`
|
||||
}
|
||||
|
||||
document.getElementById('currentLocationName').textContent = `${cityName}, ${countryName}`;
|
||||
document.getElementById('currentLocationName').textContent = `${cityName}, ${countryNameText}`;
|
||||
document.getElementById('currentSearchImg').src = `weather-icons/${iconCode}.svg`;
|
||||
|
||||
document.getElementById('description').textContent = description;
|
||||
@@ -736,7 +736,7 @@ function getWeatherByCoordinates(latitude, longitude) {
|
||||
document.getElementById('AmountRainMM').innerHTML = `0.0 mm`
|
||||
}
|
||||
|
||||
document.getElementById('currentLocationName').textContent = `${cityName}, ${countryName}`;
|
||||
document.getElementById('currentLocationName').textContent = `${cityName}, ${countryNameText}`;
|
||||
document.getElementById('currentSearchImg').src = `weather-icons/${iconCode}.svg`;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user