From beec60be470ef8cad689cd865d8515b95e42a70f Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 23 May 2017 14:59:02 -0500 Subject: [PATCH] =?UTF-8?q?assign=20isn=E2=80=99t=20supported,=20so=20do?= =?UTF-8?q?=20a=20for=20loop?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/analytics/analytics.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/analytics/analytics.js b/modules/analytics/analytics.js index fc697aea8..a96a685e5 100644 --- a/modules/analytics/analytics.js +++ b/modules/analytics/analytics.js @@ -123,8 +123,10 @@ class Analytics { permanentProperties.group = group; } if (window.jitsiAnalyticsPermanentProperties) { - permanentProperties.assign( - window.jitsiAnalyticsPermanentProperties); + for (var key in window.jitsiAnalyticsPermanentProperties) { + permanentProperties[key] + = window.jitsiAnalyticsPermanentProperties[key]; + } } analytics.addPermanentProperties(permanentProperties);