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 322B

123456789101112
  1. /* global JitsiMeetJS */
  2. import DeviceSelectionPopup from './components/web/DeviceSelectionPopup';
  3. let deviceSelectionPopup;
  4. window.init = i18next => {
  5. JitsiMeetJS.init();
  6. deviceSelectionPopup = new DeviceSelectionPopup(i18next);
  7. };
  8. window.addEventListener('beforeunload', () => deviceSelectionPopup.close());