Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreywolf committed Jan 2, 2020
1 parent 7f31e62 commit 38097c9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/diagrams/class/classDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
3 changes: 1 addition & 2 deletions src/diagrams/class/classRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 38097c9

Please sign in to comment.