Page 1 of 1

Error in charts.js Build 3221

Posted: Wed 11 Jan 2023 10:30 am
by flort
Hi,

I have just discovered an error in charts.js which is causing Solar to appear in the dropdown list in Recent Charts when solar is not chosen in the settings.

Line 45 currently reads

Code: Select all

$('#mySelect option[value="humidity"]').remove();
It should be

Code: Select all

$('#mySelect option[value="solar"]').remove();
Regards,
Trevor

Re: Error in charts.js Build 3221

Posted: Wed 11 Jan 2023 11:46 am
by mcrossley
Thanks. It looks like that has been there from day one and no one noticed until now!

Re: Error in charts.js Build 3221

Posted: Wed 11 Jan 2023 11:52 am
by dazza1223
do you want me to replace that line mark before i upload this new image?

Re: Error in charts.js Build 3221

Posted: Wed 11 Jan 2023 2:03 pm
by mcrossley
Yes please.