浏览代码

Merge pull request #2094 from jitsi/device_selection_popup_error

Fix device selection popup
j8
virtuacoplenny 7 年前
父节点
当前提交
d3e8856896
共有 1 个文件被更改,包括 8 次插入1 次删除
  1. 8
    1
      react/features/analytics/functions.js

+ 8
- 1
react/features/analytics/functions.js 查看文件

@@ -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

正在加载...
取消
保存