Fix default weather forecast module api URL

This commit is contained in:
valmassoi 2016-09-18 10:54:20 -07:00
parent d267c03ee2
commit 749475799a
No known key found for this signature in database
GPG Key ID: C20789D90BB0C59F

View File

@ -102,7 +102,7 @@ Module.register("weatherforecast",{
} }
if (!this.loaded) { if (!this.loaded) {
wrapper.innerHTML = this.translate('LOADING'); wrapper.innerHTML = this.translate("LOADING");
wrapper.className = "dimmed light small"; wrapper.className = "dimmed light small";
return wrapper; return wrapper;
} }
@ -161,7 +161,7 @@ Module.register("weatherforecast",{
* Calls processWeather on succesfull response. * Calls processWeather on succesfull response.
*/ */
updateWeather: function() { updateWeather: function() {
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + '/' + this.getParams(); var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + this.getParams();
var self = this; var self = this;
var retry = true; var retry = true;