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:
parent
b2bab22271
commit
ba2ccfb17a
13 changed files with 54 additions and 80 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue