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 29, 2018
1 parent 640d38c commit f733495
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cytoscape-edgehandles.js
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,11 @@ function emit(type, position) {

cy.emit({ type: 'eh' + type, position: position }, args);

options[type].apply(options, args);
var handler = options[type];

if (handler != null) {
handler.apply(undefined, args);
}

return this;
}
Expand Down

0 comments on commit f733495

Please sign in to comment.