mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update image editor
This commit is contained in:
parent
c5bfd529a2
commit
c64aedc131
6 changed files with 64 additions and 24 deletions
|
@ -117,6 +117,20 @@ var Dashboard = {
|
|||
}
|
||||
},
|
||||
|
||||
onPopupOpen: function(){
|
||||
Dashboard.popupCount = (Dashboard.popupCount || 0) + 1;
|
||||
document.body.classList.add('bodyWithPopupOpen');
|
||||
},
|
||||
|
||||
onPopupClose: function(){
|
||||
|
||||
Dashboard.popupCount = (Dashboard.popupCount || 1) - 1;
|
||||
|
||||
if (!Dashboard.popupCount) {
|
||||
document.body.classList.remove('bodyWithPopupOpen');
|
||||
}
|
||||
},
|
||||
|
||||
getCurrentUser: function () {
|
||||
|
||||
if (!Dashboard.getUserPromise) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue