mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
code style
This commit is contained in:
parent
7f31e624ca
commit
38097c9095
@ -196,7 +196,6 @@ const setClickFunc = function(_id, functionName, tooltip) {
|
||||
funs.push(function() {
|
||||
const elem = document.querySelector(`[id="${elemId}"]`);
|
||||
if (elem !== null) {
|
||||
|
||||
elem.addEventListener(
|
||||
'click',
|
||||
function() {
|
||||
|
@ -432,8 +432,7 @@ const drawClass = function(elem, classDef) {
|
||||
});
|
||||
|
||||
if (classDef.tooltip) {
|
||||
title.insert('title')
|
||||
.text(classDef.tooltip);
|
||||
title.insert('title').text(classDef.tooltip);
|
||||
}
|
||||
|
||||
membersLine.attr('x2', rectWidth);
|
||||
|
Loading…
x
Reference in New Issue
Block a user