2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-27 20:34:52 +00:00

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 d146ad4d0f
commit f72a5085e3

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;