]> dxcluster.org Git - dweather.git/commitdiff
fix type in temperature continuous output
authorDirk Koopman <djk@tobit.co.uk>
Sun, 17 Jan 2016 19:56:12 +0000 (19:56 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Sun, 17 Jan 2016 19:56:12 +0000 (19:56 +0000)
templates/index.html.ep

index 7526d24d41cc07d9e6fd4568badedd20456258da..e1bf922e542ffdb77d7e1efd80e7df2f530161f9 100644 (file)
                        }
                        if (hr.Temp_Out <= 0) {
                                if (lasttemp > 0) {
-                                       daychart.series[4].addPoint([t, 0], true, temppos);
+                                       daychart.series[4].addPoint([t, 0], true, tempneg);
                                }
                                daychart.series[4].addPoint([t, hr.Temp_Out], true, tempneg);
                        } else {