From 193b99bc4431ec210e53cca722f9e60024846c38 Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Sun, 1 Jul 2012 17:52:00 +0200 Subject: [PATCH] don't reload the index if not connected --- src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.js b/src/app.js index b5bbb15..1de5077 100644 --- a/src/app.js +++ b/src/app.js @@ -141,7 +141,8 @@ }) } - reloadIndex() + if(helper.isConnected()) + reloadIndex() function createBookmarklet() { var authData = storage.authData()