Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
fixed event emitting
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus Großmann committed Jul 17, 2015
1 parent 4928594 commit 378cae9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions master/public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ $(function () {
data = (typeof data === 'undefined') ? {} : data;
data = $.extend(data, {id: $this.data('id')});
data[self.name] = value;

socket.emit(eventName, data);
};

if (event.type == 'keyup') {
Expand Down

0 comments on commit 378cae9

Please sign in to comment.