* feat(settings): setting dialog - Move device selection, profile edit, language select, moderator options, and server auth into one modal with tabs. - Remove side panel profile and settings and logic used to update them. - Pipe server auth status into redux to display in the settings dialog. - Change filmstrip only device selection popup to use the new stateless settings dialog component. * squash: do not show profile tab if not guest * squash: profile button not clickable if no profile to show * squash: nits * ref: Settings dialog.
17 lines
432 B
JavaScript
17 lines
432 B
JavaScript
/* global JitsiMeetJS */
|
|
|
|
// FIXME: remove once atlaskit work with React 16.
|
|
import '../base/react/prop-types-polyfill.js';
|
|
|
|
import DeviceSelectionPopup from './DeviceSelectionPopup';
|
|
|
|
let deviceSelectionPopup;
|
|
|
|
window.init = i18next => {
|
|
JitsiMeetJS.init({}).then(() => {
|
|
deviceSelectionPopup = new DeviceSelectionPopup(i18next);
|
|
});
|
|
};
|
|
|
|
window.addEventListener('beforeunload', () => deviceSelectionPopup.close());
|