mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 02:36:47 +00:00 
			
		
		
		
	Merge pull request #1255 from wonjerry/develop
Error in default/currentWeather
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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); | ||||
| 		} | ||||
| 	}, | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user