From 9fa2765f0d412edff1639782c95fcf6993d1a87f Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 13 May 2014 19:55:45 +0200 Subject: Remove previous notifications --- js/slide-controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/slide-controller.js b/js/slide-controller.js index 5a32d19..efb0097 100644 --- a/js/slide-controller.js +++ b/js/slide-controller.js @@ -101,6 +101,7 @@ self.remoteSocket.on('connecting', function() { console.log('Connecting to ' + channel + '@' + addr); + humane.remove(); humane.log('Connecting...', { timeout : 0 }); @@ -114,6 +115,7 @@ self.remoteSocket.on('connect_failed', function() { console.log('Error connecting to ' + channel + '@' + addr); + humane.remove(); humane.log('Connection failed', { timeout : 0 }); @@ -121,6 +123,7 @@ self.remoteSocket.on('error', function() { console.log('Error on ' + channel + '@' + addr); + humane.remove(); humane.log('Error', { timeout : 0 }); -- cgit v1.2.3