diff --git a/CHANGELOG.md b/CHANGELOG.md index 301deadd..6cb4bf22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). - Updated German translation - Updated Dutch translation +## [2.3.1] - 2018-04-06 + +### Fixed + +- In default module currentWeather/currentWeather.js line 296, 300, self.config.animationSpeed can not be found because the notificationReceived function does not have "self" variable. + ## [2.3.1] - 2018-04-01 ### Fixed diff --git a/modules/default/currentweather/currentweather.js b/modules/default/currentweather/currentweather.js index 924a1974..b0ab40dc 100644 --- a/modules/default/currentweather/currentweather.js +++ b/modules/default/currentweather/currentweather.js @@ -293,11 +293,11 @@ Module.register("currentweather",{ } if (notification === "INDOOR_TEMPERATURE") { this.indoorTemperature = this.roundValue(payload); - this.updateDom(self.config.animationSpeed); + this.updateDom(this.config.animationSpeed); } if (notification === "INDOOR_HUMIDITY") { this.indoorHumidity = this.roundValue(payload); - this.updateDom(self.config.animationSpeed); + this.updateDom(this.config.animationSpeed); } },