mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Dont highlight search term if search field is emptied
This commit is contained in:
committed by
Junyoung Choi
parent
f88fc23e58
commit
2b4d20b94e
@@ -71,6 +71,7 @@ class TopBar extends React.Component {
|
|||||||
this.refs.search.childNodes[0].blur
|
this.refs.search.childNodes[0].blur
|
||||||
dispatch(push('/searched'))
|
dispatch(push('/searched'))
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
|
this.debouncedUpdateKeyword("")
|
||||||
}
|
}
|
||||||
|
|
||||||
handleKeyDown (e) {
|
handleKeyDown (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user