mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix modal dialog
This commit is contained in:
parent
94c3abe443
commit
30f68bdf98
4 changed files with 8 additions and 8 deletions
|
@ -485,7 +485,7 @@ var Dashboard = {
|
|||
|
||||
elem = document.createElement('modalLoading');
|
||||
elem.classList.add('modalLoading');
|
||||
elem.style.display = 'none';
|
||||
elem.classList.add('hide');
|
||||
document.body.appendChild(elem);
|
||||
|
||||
}
|
||||
|
@ -494,12 +494,12 @@ var Dashboard = {
|
|||
},
|
||||
|
||||
showModalLoadingMsg: function () {
|
||||
Dashboard.getModalLoadingMsg().show();
|
||||
Dashboard.getModalLoadingMsg().classList.remove('hide');
|
||||
Dashboard.showLoadingMsg();
|
||||
},
|
||||
|
||||
hideModalLoadingMsg: function () {
|
||||
Dashboard.getModalLoadingMsg().hide();
|
||||
Dashboard.getModalLoadingMsg().classList.add('hide');
|
||||
Dashboard.hideLoadingMsg();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue