mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #2678 from grafixeyehero/window.global
Access Loading globally
(cherry picked from commit c8fcb9e664
)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
f2cbfbb549
commit
575766b8e8
2 changed files with 8 additions and 3 deletions
|
@ -92,6 +92,7 @@ module.exports = {
|
|||
'LibraryMenu': 'writable',
|
||||
'LinkParser': 'writable',
|
||||
'LiveTvHelpers': 'writable',
|
||||
'Loading': 'writable',
|
||||
'MetadataEditor': 'writable',
|
||||
'PlaylistViewer': 'writable',
|
||||
'UserParentalControlPage': 'writable',
|
||||
|
|
|
@ -68,7 +68,11 @@ export function hide() {
|
|||
}
|
||||
}
|
||||
|
||||
export default {
|
||||
show: show,
|
||||
hide: hide
|
||||
const loading = {
|
||||
show,
|
||||
hide
|
||||
};
|
||||
|
||||
window.Loading = loading;
|
||||
|
||||
export default loading;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue