2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

svg.js: safari6 support (Forum #31293)

git-svn-id: https://svn.fhem.de/fhem/trunk@7507 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-01-10 20:06:07 +00:00
parent c7bdeeaba1
commit 0a6e76a4ba

View File

@ -126,15 +126,15 @@ sv_menu(evt, embed)
if(svgNode.isSingle) {
delete(svgNode.isSingle);
$(sel).attr("stroke-width", 1);
$(tl).html($(tl).attr("hiddentitle"));
$(tl).text($(tl).attr("hiddentitle"));
showOtherLines(0, 1);
} else {
svgNode.isSingle = 1;
$(sel).attr("stroke-width", 3);
$(tl).attr("hiddentitle", $(tl).html());
$(tl).attr("hiddentitle", $(tl).text());
if($(sel).attr("points") != null)
$(tl).html($(label).attr("title"));
$(tl).text($(label).attr("title"));
showOtherLines(1, 0);
}
}