fhemweb.js: avoid referencing comma-room in treeMenu (Forum #84532)

git-svn-id: https://svn.fhem.de/fhem/trunk@16237 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2018-02-20 22:17:13 +00:00
parent fbee0cd9bf
commit 3c1e9cc69d

View File

@@ -834,7 +834,7 @@ FW_treeMenu()
$("div#menu table.room").each(function(){ // one loop per Block
var t = this, ma = {};
$(t).find("td > div > a > span").each(function(e){
var span = this, spanTxt = $(span).text();
var span = this, spanTxt = $(span).text().replace(/,/g,'');
var ta = spanTxt.split("->");
if(ta.length <= 1)
return;