Skip to content

Commit

Permalink
unselect event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Pozdnyakov authored and Ivan Pozdnyakov committed Sep 28, 2015
1 parent 4254eaa commit 31e1f3a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code.js
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,10 @@ $(function () { // on dom ready
cy.on('select', 'node', function(event){
selectedForEditNodes = cy.$('node:selected');
});

cy.on('unselect', 'node', function(event){
selectedForEditNodes = cy.$('node:selected');
});
},

// initial viewport state:
Expand Down

0 comments on commit 31e1f3a

Please sign in to comment.