Prettier correction

This commit is contained in:
Chris 2020-05-31 11:46:50 +09:00 committed by GitHub
parent d306bb25dc
commit 4a7076e01c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -294,7 +294,7 @@ Module.register("weatherforecast", {
return;
}
params += "&cnt=" + (((this.config.maxNumberOfDays < 1) || (this.config.maxNumberOfDays > 17)) ? 7 : this.config.maxNumberOfDays);
params += "&cnt=" + (this.config.maxNumberOfDays·<·1·||·this.config.maxNumberOfDays·>·17 ? 7 : this.config.maxNumberOfDays);
params += "&units=" + this.config.units;
params += "&lang=" + this.config.lang;