fix(analytics): use string concatenation for ie11

This commit is contained in:
Leonard Kim 2017-11-07 20:01:23 -08:00
parent 2b46c37077
commit c6b11ed55d
1 changed files with 5 additions and 2 deletions

View File

@ -27,8 +27,11 @@
value = value ? Math.round(parseFloat(value)) : null;
const label = data.label || '';
ga('send', 'event', 'jit.si',
`${action}.${data.browserName}`, label, value);
// Intentionally use string concatenation as analytics needs to work on
// IE but this file does not go through babel.
// eslint-disable-next-line prefer-template
ga('send', 'event', 'jit.si', action + '.' + data.browserName,
label, value);
};
if (typeof ctx.JitsiMeetJS === 'undefined') {