Permalink
Browse files

Small bug fix

  • Loading branch information...
1 parent a053df6 commit 060c63baacabd0e4e30b403dacd9fb15036f6c5a @pksunkara committed Sep 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/javascripts/collab.js
View
2 public/javascripts/collab.js
@@ -23,7 +23,7 @@ sendChat = function() {
key_handler = function (key) {
console.log('{'+cpos+','+ver+','+substr+','+e+'}');
socket.emit('text edit', {cursor:cpos, version:ver, substring:substr, edit:e});
-});
+}
socket.on('text edit', function (data){
console.log('text-edit: '+data);

0 comments on commit 060c63b

Please sign in to comment.