array index fix

This commit is contained in:
d3m1g0d
2019-04-17 17:08:35 +02:00
parent 863b998eae
commit 888296e3e1
+2 -2
View File
@@ -46,6 +46,6 @@ function graphSpectralData(obj, dom) {
function fillLuxUv (obj, dom) {
$(dom).find('#lx').text(obj[1]);
$(dom).find('#uva').text(obj[2][0]);
$(dom).find('#uvb').text(obj[2][0]);
$(dom).find('#uvi').text(obj[2][0]);
$(dom).find('#uvb').text(obj[2][1]);
$(dom).find('#uvi').text(obj[2][2]);
}