summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-11 08:50:27 -0500
committerChristopher Speller <crspeller@gmail.com>2016-03-11 08:50:27 -0500
commit19f28e896d6d564e9c395ec90597d42709b2e3b8 (patch)
tree4ec6784a1032609236bcb454db16d3221175a066 /web/react/components
parent8b6b02143d7b96e5fcd6031a8d9abb2c3051268d (diff)
parent3ee2d218130e01d8df729495e0d121615271e98b (diff)
downloadchat-19f28e896d6d564e9c395ec90597d42709b2e3b8.tar.gz
chat-19f28e896d6d564e9c395ec90597d42709b2e3b8.tar.bz2
chat-19f28e896d6d564e9c395ec90597d42709b2e3b8.zip
Merge pull request #2414 from mattermost/bluebar-fix
Fixing blue bar on iOS
Diffstat (limited to 'web/react/components')
-rw-r--r--web/react/components/textbox.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/textbox.jsx b/web/react/components/textbox.jsx
index c8c0c071e..d4eb60676 100644
--- a/web/react/components/textbox.jsx
+++ b/web/react/components/textbox.jsx
@@ -61,7 +61,7 @@ export default class Textbox extends React.Component {
onRecievedError() {
const errorCount = ErrorStore.getConnectionErrorCount();
- if (errorCount > 0) {
+ if (errorCount > 1) {
this.setState({connection: 'bad-connection'});
} else {
this.setState({connection: ''});