1
0
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:
arnaudroques 2021-03-06 19:37:12 +01:00 committed by GitHub
commit 97c8f1848a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
});
});