Attach sender name to events.

This commit is contained in:
Ian Gulliver
2015-12-28 16:37:07 -08:00
parent f514d41367
commit 35b9de8932

View File

@@ -279,6 +279,7 @@ BabyStats.prototype.onClick_ = function(eventName, overlay) {
case 0:
this.chat_.sendMessage({
type: eventName,
sender_name: this.yourName_.value,
});
overlay.textContent = '✓';
break;