permament routing on search
This commit is contained in:
@ -254,7 +254,6 @@ class Header extends React.Component {
|
||||
marginLeft: 'auto',
|
||||
marginTop: '-10px',
|
||||
color: window.peers > 0 ? '#42f445' : 'white',
|
||||
backgroundColor: 'white',
|
||||
zIndex: 2
|
||||
}}>
|
||||
<Search />
|
||||
|
@ -69,6 +69,7 @@ class Search extends Component {
|
||||
}
|
||||
|
||||
search(oldSearch) {
|
||||
window.router('/')
|
||||
this.setState({
|
||||
searchingIndicator: true
|
||||
});
|
||||
@ -273,7 +274,7 @@ class Search extends Component {
|
||||
|
||||
return (
|
||||
<div className="column w100p center">
|
||||
<div className='row inline w100p pad0-75' style={{maxWidth: '30em'}}>
|
||||
<div className='row inline w100p pad0-75' style={{maxWidth: '30em', backgroundColor: 'white', paddingTop: 0}}>
|
||||
<TextField
|
||||
hintText="Search torrent or file"
|
||||
floatingLabelText="What to search?"
|
||||
|
Reference in New Issue
Block a user