mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-05 21:17:52 +00:00
Merge pull request #478 from ioplker/master
Fix interactive functionality for Usecase diagrams exported to SVG
This commit is contained in:
commit
97c8f1848a
@ -28,11 +28,11 @@ function main() {
|
||||
});
|
||||
|
||||
links.forEach(link => {
|
||||
let name1 = link.classList[1];
|
||||
let name2 = link.classList[2];
|
||||
|
||||
if (elemsMap[name1]) {
|
||||
if (elemsMap[name2]) {
|
||||
let name1 = link.classList[1];
|
||||
let name2 = link.classList[2];
|
||||
|
||||
let elem1 = elemsMap[name1];
|
||||
let elem2 = elemsMap[name2];
|
||||
|
||||
@ -107,4 +107,4 @@ function main() {
|
||||
|
||||
document.addEventListener('DOMContentLoaded', (event) => {
|
||||
main();
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user