Skip to content

Commit

Permalink
like search
Browse files Browse the repository at this point in the history
  • Loading branch information
ivp08001 committed Jan 7, 2016
1 parent 1a78270 commit a604de2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VQI_PathwayEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ var VQI_PathwayEditor = function (parent) {

function focus(name){
var cy = $('#' + parent + '-cy').cytoscape('get');
cy.elements("node[name = \"" + name + "\"]").select();
cy.elements("node[name *= \"" + name + "\"]").select();
cy.$('node').style("opacity", 0.2);
cy.$('edge').style("opacity", 0.2);
cy.$('node:selected').style("opacity", 1.0);
Expand Down

0 comments on commit a604de2

Please sign in to comment.