2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 09:55:38 +00:00

fhemweb.js: do not scroll to the top on complex room selection (Forum #131822)

git-svn-id: https://svn.fhem.de/fhem/trunk@27117 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2023-01-25 09:13:32 +00:00
parent 7a00e0585f
commit 28bb1319fd

View File

@ -1157,7 +1157,8 @@ FW_treeMenu()
if(!ma[nxt]) {
$(tr).before("<tr class='menuTree closed level"+i1+"' "+
"data-mTree='"+lst+"' data-nxt='"+nxt+"'>"+
"<td><div><a href='#'>"+ta[i1]+"</a><div></div></div></td></tr>");
"<td><div><a href='#' onclick='return false;'>"+ta[i1]+
"</a><div></div></div></td></tr>");
}
ma[nxt] = true;
lst = nxt;