mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
zwave_neighborlist.js: Fix multiple dots (Forum #60450)
git-svn-id: https://svn.fhem.de/fhem/trunk@12550 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
73ea670d37
commit
d6561bbb80
@ -203,7 +203,7 @@ zw_adjustLines(h, name)
|
||||
var la = h[name].lines;
|
||||
for(var i1=0; i1<la.length; i1++) {
|
||||
var se = la[i1].split('-');
|
||||
var attName = la[i1].replace(".", "\\.");
|
||||
var attName = la[i1].replace(/\./g, "\\.");
|
||||
if(la[i1].indexOf(name) == 0) { // we are the from line
|
||||
var p = zw_calcPos(h[se[0]], h[se[1]]);
|
||||
$("svg line[data-name="+attName+"]")
|
||||
|
Loading…
x
Reference in New Issue
Block a user