diff --git a/fhem/www/pgm2/svg.js b/fhem/www/pgm2/svg.js index 959f21ff1..1d1555c4d 100644 --- a/fhem/www/pgm2/svg.js +++ b/fhem/www/pgm2/svg.js @@ -276,7 +276,8 @@ FW_svgUpdateDevs(devs) flog = flog.replace(/\\x3a/g, "."); log("longpollSVG filter:"+flog); for(var j=0; j < devs.length; j++) { - var ev = devs[0]+":"+devs[1]; + var d = devs[j]; + var ev = d[0]+":"+d[1]; if(ev.match(flog)) { log("longpollSVG: reload SVG"); var e = embArr[i];