diff options
author | Robin Naundorf <r.naundorf@fh-muenster.de> | 2017-02-13 16:29:54 +0100 |
---|---|---|
committer | George Goldberg <george@gberg.me> | 2017-02-13 15:29:54 +0000 |
commit | 54c699b7ca66ec4a7a39d5c5680a25956d1be5fe (patch) | |
tree | 4dd5d5888b673df9db33fe340b5571fdadec7440 /webapp/components/textbox.jsx | |
parent | ff741740eebceb43b1d69b13d97ae7eed2aa32d1 (diff) | |
download | chat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.tar.gz chat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.tar.bz2 chat-54c699b7ca66ec4a7a39d5c5680a25956d1be5fe.zip |
Fix typo (#5380)
* Replace 'recieve' with 'receive'
Diffstat (limited to 'webapp/components/textbox.jsx')
-rw-r--r-- | webapp/components/textbox.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webapp/components/textbox.jsx b/webapp/components/textbox.jsx index a1c31d888..f1f6d2a0a 100644 --- a/webapp/components/textbox.jsx +++ b/webapp/components/textbox.jsx @@ -44,7 +44,7 @@ export default class Textbox extends React.Component { this.focus = this.focus.bind(this); this.recalculateSize = this.recalculateSize.bind(this); - this.onRecievedError = this.onRecievedError.bind(this); + this.onReceivedError = this.onReceivedError.bind(this); this.handleKeyPress = this.handleKeyPress.bind(this); this.handleKeyDown = this.handleKeyDown.bind(this); this.handleBlur = this.handleBlur.bind(this); @@ -67,7 +67,7 @@ export default class Textbox extends React.Component { } componentDidMount() { - ErrorStore.addChangeListener(this.onRecievedError); + ErrorStore.addChangeListener(this.onReceivedError); } componentWillMount() { @@ -75,10 +75,10 @@ export default class Textbox extends React.Component { } componentWillUnmount() { - ErrorStore.removeChangeListener(this.onRecievedError); + ErrorStore.removeChangeListener(this.onReceivedError); } - onRecievedError() { + onReceivedError() { const errorCount = ErrorStore.getConnectionErrorCount(); if (errorCount > 1) { |