Fix typo in variable name fetchedLocationName

This commit is contained in:
Chris van Marle 2019-03-29 13:13:56 +01:00
parent f0939b8af5
commit 979041ee91

View File

@ -71,7 +71,7 @@ Module.register("currentweather",{
firstEvent: false, firstEvent: false,
// create a variable to hold the location name based on the API result. // create a variable to hold the location name based on the API result.
fetchedLocatioName: "", fetchedLocationName: "",
// Define required scripts. // Define required scripts.
getScripts: function() { getScripts: function() {
@ -266,7 +266,7 @@ Module.register("currentweather",{
// Override getHeader method. // Override getHeader method.
getHeader: function() { getHeader: function() {
if (this.config.appendLocationNameToHeader) { if (this.config.appendLocationNameToHeader) {
return this.data.header + " " + this.fetchedLocatioName; return this.data.header + " " + this.fetchedLocationName;
} }
return this.data.header; return this.data.header;