aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-13 19:55:45 +0200
committerPacien TRAN-GIRARD2014-05-13 19:55:45 +0200
commit9fa2765f0d412edff1639782c95fcf6993d1a87f (patch)
tree2d1f1783f74e58c7f9a545d8ca9e5af2485ce554
parent82bd7f96523e02fb520d45f80a88301b7055072d (diff)
downloadio-slides-remote-9fa2765f0d412edff1639782c95fcf6993d1a87f.tar.gz
Remove previous notifications
-rw-r--r--js/slide-controller.js3
1 files changed, 3 insertions, 0 deletions
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 @@
101 101
102 self.remoteSocket.on('connecting', function() { 102 self.remoteSocket.on('connecting', function() {
103 console.log('Connecting to ' + channel + '@' + addr); 103 console.log('Connecting to ' + channel + '@' + addr);
104 humane.remove();
104 humane.log('Connecting...', { 105 humane.log('Connecting...', {
105 timeout : 0 106 timeout : 0
106 }); 107 });
@@ -114,6 +115,7 @@
114 115
115 self.remoteSocket.on('connect_failed', function() { 116 self.remoteSocket.on('connect_failed', function() {
116 console.log('Error connecting to ' + channel + '@' + addr); 117 console.log('Error connecting to ' + channel + '@' + addr);
118 humane.remove();
117 humane.log('Connection failed', { 119 humane.log('Connection failed', {
118 timeout : 0 120 timeout : 0
119 }); 121 });
@@ -121,6 +123,7 @@
121 123
122 self.remoteSocket.on('error', function() { 124 self.remoteSocket.on('error', function() {
123 console.log('Error on ' + channel + '@' + addr); 125 console.log('Error on ' + channel + '@' + addr);
126 humane.remove();
124 humane.log('Error', { 127 humane.log('Error', {
125 timeout : 0 128 timeout : 0
126 }); 129 });