We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc4993c commit ea8e0f2Copy full SHA for ea8e0f2
2 files changed
evergreen.js
@@ -744,7 +744,10 @@ function init_weather() {
744
745
// load weather
746
if (result["weather"]) {
747
- weather_info = result["weather"];
+ if (result["openweathermap"] && result["nws"]) {
748
+ weather_info = result["weather"];
749
+ }
750
+ // don't set weather info if the previous info is invalid such as from previous version
751
}
752
weather_location_string = result["geocode"]
753
newtab.html
@@ -346,6 +346,7 @@ <h3>Changelog v2.1.0</h3>
346
<h4>Changes</h4>
347
<ul>
348
<li>Added YYYY-MM-DD date format option.</li>
349
+ <li>fixed bug that prevented weather from working if user had saved weather info pre-2.0.0</li>
350
</ul>
351
</div>
352
<div class="modal-footer">
0 commit comments