From 0190683efb6f8bfbbbff2d744501fa57e670e3ce Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 7 Oct 2014 17:57:35 +0100 Subject: [PATCH] Set the "record" callback whenever "records" is subscribed, since the former only gets subscribed from the latter's callback. --- src/mkws-team.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index 8a73211..0879add 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -179,8 +179,7 @@ mkws.makeTeam = function($, teamName) { if (m_queues.records) { log("setting show callback"); params.onshow = onShow; - } - if (m_queues.record) { + // Record callback is subscribed from records callback log("setting record callback"); params.onrecord = onRecord; } -- 1.7.10.4