You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

popup.js 402B

1234567891011121314151617
  1. import 'aui-css';
  2. import 'aui-experimental-css';
  3. import DeviceSelectionPopup from './DeviceSelectionPopup';
  4. declare var JitsiMeetJS: Object;
  5. let deviceSelectionPopup;
  6. window.init = function(i18next) {
  7. JitsiMeetJS.init({}).then(() => {
  8. deviceSelectionPopup = new DeviceSelectionPopup(i18next);
  9. });
  10. };
  11. window.addEventListener('beforeunload', () =>
  12. deviceSelectionPopup.close());