Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Fix event action names that kept a / accidentally
Browse files Browse the repository at this point in the history
  • Loading branch information
ianb committed Oct 11, 2016
1 parent a36ada6 commit 8c4ea36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/pages/shotindex/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Body extends React.Component {
if (val) {
sendEvent("search");
} else {
sendEvent("clear-search/submit");
sendEvent("clear-search", "submit");
}
controller.onChangeSearch(val);
}
Expand All @@ -131,7 +131,7 @@ class Body extends React.Component {
let val = ReactDOM.findDOMNode(this.refs.search).value;
this.setState({defaultSearch: val});
if (! val) {
sendEvent("clear-search/keyboard");
sendEvent("clear-search", "keyboard");
controller.onChangeSearch(val);
}
}
Expand Down

0 comments on commit 8c4ea36

Please sign in to comment.