From 80376c16f806332a8383162fd97ae29e624db12a Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Fri, 27 Jun 2014 15:11:33 -0300 Subject: [PATCH] fix insight notification --- js/controllers/header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controllers/header.js b/js/controllers/header.js index eeafd4517..52e0bb352 100644 --- a/js/controllers/header.js +++ b/js/controllers/header.js @@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('HeaderController', if (status === -1) { notification.success('Networking restored', 'Connection to Insight re-established'); //$rootScope.insightError = 0; - } else { + } else if (status !== 0) { notification.error('Networking problem', 'Connection to Insight lost, reconnecting (attempt number '+status+')'); } });