From 9a6d96a7774d536b7682525a35d1f3fb83375c5b Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sun, 27 Dec 2015 20:52:36 -0800 Subject: [PATCH] Record events. --- static/babystats.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/babystats.js b/static/babystats.js index faba655..130e5cc 100644 --- a/static/babystats.js +++ b/static/babystats.js @@ -257,7 +257,9 @@ BabyStats.prototype.onClick_ = function(eventName, overlay) { timer--; switch (timer) { case 0: - // XXX: send + this.chat_.sendMessage({ + type: eventName, + }); overlay.textContent = '✓'; break;