mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
restored live tv playback in the web client
This commit is contained in:
parent
121107918d
commit
7dd0efdcc2
11 changed files with 197 additions and 63 deletions
|
@ -1,11 +1,10 @@
|
|||
(function ($, document, Dashboard) {
|
||||
|
||||
var userId;
|
||||
var getNotificationsSummaryPromise;
|
||||
|
||||
function getNotificationsSummary() {
|
||||
|
||||
getNotificationsSummaryPromise = getNotificationsSummaryPromise || ApiClient.getNotificationSummary(userId);
|
||||
getNotificationsSummaryPromise = getNotificationsSummaryPromise || ApiClient.getNotificationSummary(Dashboard.getCurrentUserId());
|
||||
|
||||
return getNotificationsSummaryPromise;
|
||||
}
|
||||
|
@ -64,6 +63,9 @@
|
|||
|
||||
$('.notificationsFlyout').popup("close");
|
||||
|
||||
getNotificationsSummaryPromise = null;
|
||||
|
||||
updateNotificationCount();
|
||||
});
|
||||
|
||||
});
|
||||
|
@ -173,8 +175,6 @@
|
|||
return;
|
||||
}
|
||||
|
||||
userId = user.Id;
|
||||
|
||||
$('<a class="imageLink btnNotifications" href="#" title="Notifications">0</a>').insertAfter($('.btnCurrentUser', header)).on('click', showNotificationsFlyout);
|
||||
|
||||
updateNotificationCount();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue