Skip to content

Commit

Permalink
Very minor spell fix for hideFog
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcl88 committed Feb 6, 2021
1 parent be11f0e commit d241e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MMM-DynamicWeather.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ Module.register("MMM-DynamicWeather", {
if (newCode_1 >= 801 && newCode_1 <= 804 && !this.config.hideClouds) {
doUpdate_1 = true;
}
if (newCode_1 >= 701 && newCode_1 <= 781 && !this.config.hideFogs) {
if (newCode_1 >= 701 && newCode_1 <= 781 && !this.config.hideFog) {
doUpdate_1 = true;
}
this.allEffects.forEach(function (effect) {
Expand Down
2 changes: 1 addition & 1 deletion MMM-DynamicWeather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ Module.register("MMM-DynamicWeather", {
if (newCode >= 801 && newCode <= 804 && !this.config.hideClouds) {
doUpdate = true;
}
if (newCode >= 701 && newCode <= 781 && !this.config.hideFogs) {
if (newCode >= 701 && newCode <= 781 && !this.config.hideFog) {
doUpdate = true;
}
(this.allEffects as Effect[]).forEach((effect) => {
Expand Down

0 comments on commit d241e26

Please sign in to comment.