Makes numbers clickable on the more numbers page when opened on mobile.
This commit is contained in:
parent
5cc01b074e
commit
0ec4e6a805
|
@ -8,16 +8,19 @@ import { i18next } from '../../../base/i18n';
|
|||
import { DialInSummary } from '../dial-in-summary';
|
||||
|
||||
import NoRoomError from './NoRoomError';
|
||||
import { Platform } from '../../../base/react';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const { room } = parseURLParams(window.location, true, 'search');
|
||||
const OS = Platform.OS;
|
||||
const isUsingMobileBrowser = OS === 'android' || OS === 'ios';
|
||||
|
||||
ReactDOM.render(
|
||||
<I18nextProvider i18n = { i18next }>
|
||||
{ room
|
||||
? <DialInSummary
|
||||
className = 'dial-in-page'
|
||||
clickableNumbers = { false }
|
||||
clickableNumbers = { isUsingMobileBrowser }
|
||||
room = { room } />
|
||||
: <NoRoomError className = 'dial-in-page' /> }
|
||||
</I18nextProvider>,
|
||||
|
|
Loading…
Reference in New Issue