aboutsummaryrefslogtreecommitdiff
path: root/plugin/notes-server/client.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-09-29 10:07:21 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-09-29 10:07:21 +0200
commitb16bc6fc2e948dedf597004fb99e69d4042daa47 (patch)
tree7fbcdd466e7c3a1109cc602500950a9f86a0beba /plugin/notes-server/client.js
parent5117048a5b86212a35d5309775a0ac646b1bd30c (diff)
downloadfosdem-2018-presentation-b16bc6fc2e948dedf597004fb99e69d4042daa47.tar
fosdem-2018-presentation-b16bc6fc2e948dedf597004fb99e69d4042daa47.tar.gz
speaker notes work with socket.io 1.0 #1375
Diffstat (limited to 'plugin/notes-server/client.js')
-rw-r--r--plugin/notes-server/client.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/notes-server/client.js b/plugin/notes-server/client.js
index 628586f..719b495 100644
--- a/plugin/notes-server/client.js
+++ b/plugin/notes-server/client.js
@@ -41,7 +41,7 @@
}
// When a new notes window connects, post our current state
- socket.on( 'connect', function( data ) {
+ socket.on( 'new-subscriber', function( data ) {
post();
} );