mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
apply suggestion
This commit is contained in:
parent
7c8a5d3184
commit
44320ef505
1 changed files with 6 additions and 4 deletions
|
@ -40,7 +40,7 @@ import 'scrollStyles';
|
|||
try {
|
||||
parentNode.removeChild(elem);
|
||||
} catch (err) {
|
||||
console.error(`error removing dialog element: ${err}`);
|
||||
console.error('error removing dialog element: ' + err);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -496,13 +496,15 @@ import 'scrollStyles';
|
|||
return dlg;
|
||||
}
|
||||
|
||||
export function setOnOpen(val) {
|
||||
globalOnOpenCallback = val;
|
||||
}
|
||||
|
||||
/* eslint-enable indent */
|
||||
|
||||
export default {
|
||||
open: open,
|
||||
close: close,
|
||||
createDialog: createDialog,
|
||||
setOnOpen: function (val) {
|
||||
globalOnOpenCallback = val;
|
||||
}
|
||||
setOnOpen: setOnOpen
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue