From 56f369cfd1c8a480a1e70a10564670153dae2ff2 Mon Sep 17 00:00:00 2001
From: Reed Garmsen <rgarmsen2295@gmail.com>
Date: Thu, 9 Jul 2015 17:49:02 -0700
Subject: Use the AsyncClient call 'updateLastViewedAt' as a way of checking
 for inet connectivity immediately after clearning yellow bar after user has
 typed 5 characters

---
 web/react/stores/error_store.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/react/stores/error_store.jsx')

diff --git a/web/react/stores/error_store.jsx b/web/react/stores/error_store.jsx
index c20e15680..3aed6aef2 100644
--- a/web/react/stores/error_store.jsx
+++ b/web/react/stores/error_store.jsx
@@ -31,7 +31,7 @@ var ErrorStore = assign({}, EventEmitter.prototype, {
   getLastError: function() {
     var error = null;
     try {
-        error = JSON.parse(BrowserStore.last_error);
+        error = JSON.parse(BrowserStore.getItem("last_error"));
     }
     catch (err) {
     }
-- 
cgit v1.2.3-1-g7c22

