mirror of
https://github.com/outline/outline.git
synced 2026-11-22 14:01:41 +03:00
search fixes
This commit is contained in:
1 parent
ad9490ed8c
commit
3695805745
1 file changed
+5
-2
@@ -31,8 +31,11 @@ class Layout extends React.Component {
|
||||
|
||||
@keydown(['/', 't'])
|
||||
search() {
|
||||
if (!this.props.search) return;
|
||||
browserHistory.push('/search');
|
||||
// if (!this.props.search) return;
|
||||
|
||||
setTimeout(() => {
|
||||
browserHistory.push('/search');
|
||||
}, 0);
|
||||
}
|
||||
|
||||
render() {
|
||||
|
||||
Reference in new issue
Block a user