Kaynağa Gözat

Merge pull request #3017 from Minasokoni/searchbar-fix

preventDefault the searchbar
bubble
shockey 7 yıl önce
committed by GitHub
ebeveyn
işleme
e91573af39
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +2
    -1
      src/plugins/topbar/topbar.jsx

+ 2
- 1
src/plugins/topbar/topbar.jsx Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet