mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Close QuickConnect dialog after login
This commit is contained in:
parent
394a3d9f49
commit
a16d5111b3
3 changed files with 29 additions and 8 deletions
|
@ -360,14 +360,17 @@ import '../../assets/css/scrollstyles.css';
|
|||
});
|
||||
}
|
||||
|
||||
export function createDialog(options) {
|
||||
options = options || {};
|
||||
|
||||
export function createDialog(options = {}) {
|
||||
// If there's no native dialog support, use a plain div
|
||||
// Also not working well in samsung tizen browser, content inside not clickable
|
||||
// Just go ahead and always use a plain div because we're seeing issues overlaying absoltutely positioned content over a modal dialog
|
||||
const dlg = document.createElement('div');
|
||||
|
||||
// Add an id so we can access the dialog element
|
||||
if (options.id) {
|
||||
dlg.id = options.id;
|
||||
}
|
||||
|
||||
dlg.classList.add('focuscontainer');
|
||||
dlg.classList.add('hide');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue