From 35b9de89328118d924bcc05085190a8db4913e6f Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Mon, 28 Dec 2015 16:37:07 -0800 Subject: [PATCH] Attach sender name to events. --- static/babystats.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/babystats.js b/static/babystats.js index 70b5186..39f31a7 100644 --- a/static/babystats.js +++ b/static/babystats.js @@ -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;