Skip to content

Commit ce508a6

Browse files
committed
Removed non-reachable code
1 parent c3a517b commit ce508a6

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

www/js/domoticz.js

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,35 +1615,6 @@ function AddDataToTempChart(data, chart, isday, isthermostat) {
16151615
series.setData(datatableTrendline, false);
16161616
}
16171617
}
1618-
return;
1619-
if (datatabledp.length != 0) {
1620-
chart.addSeries({
1621-
id: 'dewpoint',
1622-
name: $.t('Dew Point'),
1623-
color: 'blue',
1624-
yAxis: 0,
1625-
tooltip: {
1626-
valueSuffix: ' \u00B0' + $.myglobals.tempsign,
1627-
valueDecimals: 1
1628-
}
1629-
}, false);
1630-
series = chart.get('dewpoint');
1631-
series.setData(datatabledp, false);
1632-
}
1633-
if (datatableba.length != 0) {
1634-
chart.addSeries({
1635-
id: 'baro',
1636-
name: $.t('Barometer'),
1637-
color: 'pink',
1638-
yAxis: 2,
1639-
tooltip: {
1640-
valueSuffix: ' hPa',
1641-
valueDecimals: 1
1642-
}
1643-
}, false);
1644-
series = chart.get('baro');
1645-
series.setData(datatableba, false);
1646-
}
16471618
}
16481619

16491620
function load_cam_video() {

0 commit comments

Comments
 (0)