Browse Source

Merge pull request #2094 from jitsi/device_selection_popup_error

Fix device selection popup
j8
virtuacoplenny 7 years ago
parent
commit
d3e8856896
1 changed files with 8 additions and 1 deletions
  1. 8
    1
      react/features/analytics/functions.js

+ 8
- 1
react/features/analytics/functions.js View File

@@ -8,7 +8,14 @@ import { getJitsiMeetGlobalNS, loadScript } from '../base/util';
8 8
 
9 9
 const logger = require('jitsi-meet-logger').getLogger(__filename);
10 10
 
11
-export const sendAnalyticsEvent = analytics.sendEvent.bind(analytics);
11
+/**
12
+ * Sends an analytics event.
13
+ *
14
+ * @inheritdoc
15
+ */
16
+export function sendAnalyticsEvent(...args: Array<any>) {
17
+    analytics.sendEvent(...args);
18
+}
12 19
 
13 20
 /**
14 21
  * Loads the analytics scripts and inits JitsiMeetJS.analytics by setting

Loading…
Cancel
Save