Skip to content

Commit

Permalink
Fix empty search handling
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Dec 1, 2013
1 parent 509a04a commit 95088e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions elements/noflo-context.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@
});
},
searchChanged: function () {
if (!this.search) {
return;
}
if (this.search === 'graph settings') {
this.showGraphInspector();
return;
Expand Down
1 change: 1 addition & 0 deletions elements/noflo-search.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
this.resultsCard.parentNode.removeChild(this.resultsCard);
this.resultsCard = null;
}
this.fire('search', this.search);
return;
}
while (this.results.length) {
Expand Down

0 comments on commit 95088e8

Please sign in to comment.