Explorar el Código

Merge pull request #3017 from Minasokoni/searchbar-fix

preventDefault the searchbar
bubble
shockey hace 7 años
committed by GitHub
padre
commit
e91573af39
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      src/plugins/topbar/topbar.jsx

+ 2
- 1
src/plugins/topbar/topbar.jsx Ver fichero

@@ -19,9 +19,10 @@ export default class Topbar extends React.Component {
this.setState({url: value})
}

downloadUrl = () => {
downloadUrl = (e) => {
this.props.specActions.updateUrl(this.state.url)
this.props.specActions.download(this.state.url)
e.preventDefault()
}

render() {


Cargando…
Cancelar
Guardar