mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +02:00
Fix code style issues
This commit is contained in:
@@ -337,15 +337,14 @@ const drawClass = function(elem, classDef) {
|
|||||||
let title;
|
let title;
|
||||||
if (classDef.link) {
|
if (classDef.link) {
|
||||||
title = g
|
title = g
|
||||||
.append("svg:a")
|
.append('svg:a')
|
||||||
.attr("xlink:href", classDef.link)
|
.attr('xlink:href', classDef.link)
|
||||||
.attr('xlink:target', '_blank')
|
.attr('xlink:target', '_blank')
|
||||||
.attr('xlink:title', classDef.tooltip)
|
.attr('xlink:title', classDef.tooltip)
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('y', conf.textHeight + conf.padding)
|
.attr('y', conf.textHeight + conf.padding)
|
||||||
.attr('x', 0);
|
.attr('x', 0);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
title = g
|
title = g
|
||||||
.append('text')
|
.append('text')
|
||||||
.attr('y', conf.textHeight + conf.padding)
|
.attr('y', conf.textHeight + conf.padding)
|
||||||
|
Reference in New Issue
Block a user