2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 16:46:35 +00:00

svg.js: BlackCat: fix "display plot values" for groups (Forum #23406)

git-svn-id: https://svn.fhem.de/fhem/trunk@20860 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2019-12-31 12:20:15 +00:00
parent 44580b89d4
commit 55a14f4466

View File

@ -442,6 +442,8 @@ $(document).ready(function(){
svg_load("svg_pastedata", function(val) {svg_pastedata = val} );
});
$("svg[id]").each(function(){ // <svg> (direct)
if($(this).parent().parent('td').length) // needed in groups
$(this).parent().css( "position", "relative" );
if($(this).attr("id").indexOf("SVGPLOT") == 0)
svg_init_one(undefined, this);
});