Skip to content

Commit

Permalink
Build for release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkfranz committed Mar 8, 2018
1 parent f129aa1 commit b69bab5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cytoscape-edgehandles.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,9 @@ function handleShown() {
}

function removeHandle() {
this.handleNode.remove();
if (this.handleShown()) {
this.handleNode.remove();
}

return this;
}
Expand Down

0 comments on commit b69bab5

Please sign in to comment.