summaryrefslogtreecommitdiffstats
path: root/web/react/components/error_bar.jsx
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-07-10 11:26:35 -0800
committerCorey Hulen <corey@hulen.com>2015-07-10 11:26:35 -0800
commit5bb2acc996dc037b15e5a2e1f27b29c87a6bb9b0 (patch)
tree7fc64005c047e4a4f30e42fb89df7e8022418430 /web/react/components/error_bar.jsx
parentd124b9df109e55448aa2d3556a56d65e1c1982fd (diff)
parent184eac99ddd329fcd803f938f193572cc64f842e (diff)
downloadchat-5bb2acc996dc037b15e5a2e1f27b29c87a6bb9b0.tar.gz
chat-5bb2acc996dc037b15e5a2e1f27b29c87a6bb9b0.tar.bz2
chat-5bb2acc996dc037b15e5a2e1f27b29c87a6bb9b0.zip
Merge pull request #159 from rgarmsen2295/mm-1269b
MM-1269b Added yellow tinge to post and comment textbox when connection is disrupted
Diffstat (limited to 'web/react/components/error_bar.jsx')
-rw-r--r--web/react/components/error_bar.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/error_bar.jsx b/web/react/components/error_bar.jsx
index f23dc060e..d9d91ef51 100644
--- a/web/react/components/error_bar.jsx
+++ b/web/react/components/error_bar.jsx
@@ -9,7 +9,7 @@ var ActionTypes = Constants.ActionTypes;
function getStateFromStores() {
var error = ErrorStore.getLastError();
- if (error) {
+ if (error && error.message !== "There appears to be a problem with your internet connection") {
return { message: error.message };
} else {
return { message: null };