14 lines
318 B
JavaScript
14 lines
318 B
JavaScript
import 'aui-css';
|
|
import 'aui-experimental-css';
|
|
|
|
import DeviceSelectionPopup from './DeviceSelectionPopup';
|
|
|
|
let deviceSelectionPopup;
|
|
|
|
window.init = function(i18next) {
|
|
deviceSelectionPopup = new DeviceSelectionPopup(i18next);
|
|
};
|
|
|
|
window.addEventListener('beforeunload', () =>
|
|
deviceSelectionPopup.close());
|