From 4a7076e01c900d139eaff1d84562417d1b92b0c1 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 31 May 2020 11:46:50 +0900 Subject: [PATCH] Prettier correction --- modules/default/weatherforecast/weatherforecast.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default/weatherforecast/weatherforecast.js b/modules/default/weatherforecast/weatherforecast.js index a04fb40d..4be0582a 100644 --- a/modules/default/weatherforecast/weatherforecast.js +++ b/modules/default/weatherforecast/weatherforecast.js @@ -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;