Skip to content

Commit e91573a

Browse files
authored
Merge pull request #3017 from Minasokoni/searchbar-fix
preventDefault the searchbar
2 parents af7a99e + 2cc3e3c commit e91573a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/plugins/topbar/topbar.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ export default class Topbar extends React.Component {
1919
this.setState({url: value})
2020
}
2121

22-
downloadUrl = () => {
22+
downloadUrl = (e) => {
2323
this.props.specActions.updateUrl(this.state.url)
2424
this.props.specActions.download(this.state.url)
25+
e.preventDefault()
2526
}
2627

2728
render() {

0 commit comments

Comments
 (0)