mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +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:
parent
44580b89d4
commit
55a14f4466
@ -442,6 +442,8 @@ $(document).ready(function(){
|
|||||||
svg_load("svg_pastedata", function(val) {svg_pastedata = val} );
|
svg_load("svg_pastedata", function(val) {svg_pastedata = val} );
|
||||||
});
|
});
|
||||||
$("svg[id]").each(function(){ // <svg> (direct)
|
$("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)
|
if($(this).attr("id").indexOf("SVGPLOT") == 0)
|
||||||
svg_init_one(undefined, this);
|
svg_init_one(undefined, this);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user