1
0
Fork 0
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:
Luke Pulverenti 2015-09-17 17:26:06 -04:00
parent c5bfd529a2
commit c64aedc131
6 changed files with 64 additions and 24 deletions

View file

@ -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) {