1
0
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:
Tobias Doll
2019-07-07 19:48:55 +02:00
committed by Junyoung Choi
parent f88fc23e58
commit 2b4d20b94e

View File

@@ -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) {