1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update video osd

This commit is contained in:
Luke Pulverenti 2017-01-15 16:29:00 -05:00
parent b2bab22271
commit ba2ccfb17a
13 changed files with 54 additions and 80 deletions

View file

@ -326,7 +326,7 @@
var instance;
function onViewShow(e) {
if (e.detail.type === 'video-osd') {
if (e.detail.type === 'video-osd' || !Dashboard.getCurrentUserId()) {
instance.hide();
} else {
instance.show();
@ -341,12 +341,12 @@
self.element = render(options);
events.on(connectionManager, 'localusersignedin', function (e, user) {
self.element.classList.remove('hide');
self.show();
showUserTabs(user, self.element);
});
events.on(connectionManager, 'localusersignedout', function () {
self.element.classList.add('hide');
self.hide();
});
showCurrentUserTabs(self.element);