Skip to content

Commit

Permalink
Hotfix Diagrama Interactivo 0.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ExarcaFidalgo committed Jan 20, 2021
1 parent 3c4c144 commit 74b9383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "shumlex",
"version": "0.4.1",
"version": "0.4.2",
"description": "ShEx - Uml integration",
"main": "main.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/visual/UMLGen.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ class UMLGen {
for(let j = 0; j < resaltados.length; j++) {
let idResaltado = resaltados[j].id;
$("#" + $.escapeSelector(idResaltado)).css("opacity", "1");
let relationships = self.relationships.get(idResaltado);

let relationships = self.relationships.get(idResaltado);
if(!relationships) {
return;
continue;
}
for(let i = 0; i < relationships.length; i++) {
$( "#" + $.escapeSelector(relationships[i]) ).css("opacity", "1");
Expand Down

0 comments on commit 74b9383

Please sign in to comment.