浏览代码

Makes numbers clickable on the more numbers page when opened on mobile.

master
damencho 6 年前
父节点
当前提交
0ec4e6a805
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js

+ 4
- 1
react/features/invite/components/dial-in-info-page/DialInInfoApp.web.js 查看文件

@@ -8,16 +8,19 @@ import { i18next } from '../../../base/i18n';
8 8
 import { DialInSummary } from '../dial-in-summary';
9 9
 
10 10
 import NoRoomError from './NoRoomError';
11
+import { Platform } from '../../../base/react';
11 12
 
12 13
 document.addEventListener('DOMContentLoaded', () => {
13 14
     const { room } = parseURLParams(window.location, true, 'search');
15
+    const OS = Platform.OS;
16
+    const isUsingMobileBrowser = OS === 'android' || OS === 'ios';
14 17
 
15 18
     ReactDOM.render(
16 19
         <I18nextProvider i18n = { i18next }>
17 20
             { room
18 21
                 ? <DialInSummary
19 22
                     className = 'dial-in-page'
20
-                    clickableNumbers = { false }
23
+                    clickableNumbers = { isUsingMobileBrowser }
21 24
                     room = { room } />
22 25
                 : <NoRoomError className = 'dial-in-page' /> }
23 26
         </I18nextProvider>,

正在加载...
取消
保存